about summary refs log tree commit diff stats
path: root/home-manager/wms/river/default.nix
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/river/default.nix
parentFix(hosts/mammun): Update to generated hardware config (diff)
downloadnixos-config-dd09acb21bebea886b2b3d4d70ab3dd738868f7f.zip
Feat(wms): Add sway
Diffstat (limited to 'home-manager/wms/river/default.nix')
-rw-r--r--home-manager/wms/river/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/home-manager/wms/river/default.nix b/home-manager/wms/river/default.nix
new file mode 100644
index 00000000..2d85e802
--- /dev/null
+++ b/home-manager/wms/river/default.nix
@@ -0,0 +1,34 @@
+{
+  config,
+  pkgs,
+  sysLib,
+  river_init_lesser,
+  ...
+}: {
+  xdg.configFile."river/init".source =
+    sysLib.makeShellScriptWithLibrary {
+      name = "river_init";
+      script = ./init;
+      dependencies = builtins.attrValues {
+        river_init_lesser = river_init_lesser.legacyPackages.x86_64-linux.default;
+        inherit
+          (pkgs)
+          dash
+          river
+          glib # gnome lib
+          gammastep
+          wlr-randr
+          yambar
+          mako
+          swaybg
+          swayidle
+          alacritty
+          ;
+      };
+    }
+    + /bin/river_init;
+
+  xdg.configFile."river/res".source = ./res;
+}
+# vim: ts=2
+