summary refs log tree commit diff stats
path: root/sys/desktop/river/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
+