about summary refs log tree commit diff stats
path: root/home-manager
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
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/config/default.nix1
-rw-r--r--home-manager/default.nix1
-rw-r--r--home-manager/wms/default.nix7
-rw-r--r--home-manager/wms/river/default.nix (renamed from home-manager/config/river/default.nix)0
-rwxr-xr-xhome-manager/wms/river/init (renamed from home-manager/config/river/init)0
-rw-r--r--home-manager/wms/river/res/keys.ron (renamed from home-manager/config/river/res/keys.ron)0
-rwxr-xr-xhome-manager/wms/river/res/safe_init (renamed from home-manager/config/river/res/safe_init)0
-rw-r--r--home-manager/wms/sway/default.nix16
8 files changed, 24 insertions, 1 deletions
diff --git a/home-manager/config/default.nix b/home-manager/config/default.nix
index e2fdfa31..9c2db635 100644
--- a/home-manager/config/default.nix
+++ b/home-manager/config/default.nix
@@ -21,7 +21,6 @@
     ./npm
     ./python
     ./rclone
-    ./river
     ./ssh
     ./swayidle
     ./swaylock
diff --git a/home-manager/default.nix b/home-manager/default.nix
index 64df8843..11f3bf9d 100644
--- a/home-manager/default.nix
+++ b/home-manager/default.nix
@@ -25,6 +25,7 @@ in {
     ./impermanence
     ./packages
     ./config
+    ./wms
   ];
 
   # I don't know what this does, but I've seen it a loot online, so it should be good, right?
diff --git a/home-manager/wms/default.nix b/home-manager/wms/default.nix
new file mode 100644
index 00000000..f3623ad8
--- /dev/null
+++ b/home-manager/wms/default.nix
@@ -0,0 +1,7 @@
+# vim: ts=2
+{config, ...}: {
+  imports = [
+    ./sway
+    ./river
+  ];
+}
diff --git a/home-manager/config/river/default.nix b/home-manager/wms/river/default.nix
index 2d85e802..2d85e802 100644
--- a/home-manager/config/river/default.nix
+++ b/home-manager/wms/river/default.nix
diff --git a/home-manager/config/river/init b/home-manager/wms/river/init
index c90c143e..c90c143e 100755
--- a/home-manager/config/river/init
+++ b/home-manager/wms/river/init
diff --git a/home-manager/config/river/res/keys.ron b/home-manager/wms/river/res/keys.ron
index a4ad6988..a4ad6988 100644
--- a/home-manager/config/river/res/keys.ron
+++ b/home-manager/wms/river/res/keys.ron
diff --git a/home-manager/config/river/res/safe_init b/home-manager/wms/river/res/safe_init
index 8e80026a..8e80026a 100755
--- a/home-manager/config/river/res/safe_init
+++ b/home-manager/wms/river/res/safe_init
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";}
+      ];
+    };
+  };
+}