summary refs log tree commit diff stats
path: root/sys/desktop
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-06 14:25:13 +0200
committerSoispha <soispha@vhack.eu>2023-05-06 14:34:24 +0200
commit568a79eda1b0779e1b051467b938ab6a0d355ca4 (patch)
treed457e96ef1f9e34c7a33c762a176c6e53678fa9c /sys/desktop
parentFix(flake): Typo (diff)
downloadnix-config-568a79eda1b0779e1b051467b938ab6a0d355ca4.tar.gz
nix-config-568a79eda1b0779e1b051467b938ab6a0d355ca4.zip
Feat(treewide): Add river window manager
Co-authored-by: sils <sils@sils.li>
Diffstat (limited to 'sys/desktop')
-rw-r--r--sys/desktop/river/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/desktop/river/default.nix b/sys/desktop/river/default.nix
new file mode 100644
index 0000000..fa2720b
--- /dev/null
+++ b/sys/desktop/river/default.nix
@@ -0,0 +1,20 @@
+{pkgs, ...}: {
+  services.xserver = {
+    enable = true;
+    displayManager = {
+      lightdm.enable = true;
+      defaultSession = "river";
+      session = [
+        {
+          manage = "desktop";
+          name = "river";
+          start = ''
+            ${pkgs.river}/bin/river;
+          '';
+        }
+      ];
+    };
+  };
+}
+# vim: ts=2
+