about summary refs log tree commit diff stats
path: root/home-manager/wms/sway
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-25 20:10:05 +0100
committerene <ene@sils.li>2023-02-25 20:10:05 +0100
commitdd09acb21bebea886b2b3d4d70ab3dd738868f7f (patch)
tree2ed041d6bad4ced4b63d862cac28f33d9817add0 /home-manager/wms/sway
parentFix(hosts/mammun): Update to generated hardware config (diff)
downloadnixos-config-dd09acb21bebea886b2b3d4d70ab3dd738868f7f.tar.gz
nixos-config-dd09acb21bebea886b2b3d4d70ab3dd738868f7f.zip
Feat(wms): Add sway
Diffstat (limited to '')
-rw-r--r--home-manager/wms/sway/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/home-manager/wms/sway/default.nix b/home-manager/wms/sway/default.nix
new file mode 100644
index 00000000..bb3ddb49
--- /dev/null
+++ b/home-manager/wms/sway/default.nix
@@ -0,0 +1,16 @@
+# also requires:
+# security.polkit.enable = true;
+{lib, ...}: {
+  wayland.windowManager.sway = {
+    enable = true;
+    config = {
+      modifier = "Mod4";
+      # Use kitty as default terminal
+      terminal = "kitty";
+      startup = [
+        # Launch Firefox on start
+        {command = "firefox";}
+      ];
+    };
+  };
+}