about summary refs log tree commit diff stats
path: root/home-manager/wms/river/default.nix
diff options
context:
space:
mode:
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
+