about summary refs log tree commit diff
path: root/modules/user/sternenseemann/services/sway.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/sternenseemann/services/sway.nix')
-rw-r--r--modules/user/sternenseemann/services/sway.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/user/sternenseemann/services/sway.nix b/modules/user/sternenseemann/services/sway.nix
index 3366e689..b125e2c2 100644
--- a/modules/user/sternenseemann/services/sway.nix
+++ b/modules/user/sternenseemann/services/sway.nix
@@ -113,6 +113,14 @@ in {
           Whether to automatically start sway when logging in on tty1.
         '';
       };
+
+      extraConfig = lib.mkOption {
+        type = lib.types.lines;
+        default = "";
+        description = ''
+          Additional lines to append to the configuration.
+        '';
+      };
     };
   };
 
@@ -271,6 +279,8 @@ in {
             urgent_workspace   $urg   $urg   $act
           }
         }
+
+        ${cfg.extraConfig}
       '';
 
       "xdg/i3status/config".text = ''