about summary refs log tree commit diff stats
path: root/home-manager/config
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-22 17:58:39 +0100
committerene <ene@sils.li>2023-02-22 17:58:39 +0100
commitcda104d1fedcd5f49ae82bfb3e5603e68d0d5e81 (patch)
tree48df62f51ef6fcfd2253582e4598bc191f034599 /home-manager/config
parentDocs(todo): Refactor and Update (diff)
downloadnixos-config-cda104d1fedcd5f49ae82bfb3e5603e68d0d5e81.tar.gz
nixos-config-cda104d1fedcd5f49ae82bfb3e5603e68d0d5e81.zip
Fix(river): Add further dependency for the init script
Diffstat (limited to 'home-manager/config')
-rw-r--r--home-manager/config/river/default.nix3
-rwxr-xr-xhome-manager/config/river/init2
2 files changed, 3 insertions, 2 deletions
diff --git a/home-manager/config/river/default.nix b/home-manager/config/river/default.nix
index add1dec8..2d85e802 100644
--- a/home-manager/config/river/default.nix
+++ b/home-manager/config/river/default.nix
@@ -2,6 +2,7 @@
   config,
   pkgs,
   sysLib,
+  river_init_lesser,
   ...
 }: {
   xdg.configFile."river/init".source =
@@ -9,7 +10,7 @@
       name = "river_init";
       script = ./init;
       dependencies = builtins.attrValues {
-        # TODO inherit river_init_lesser
+        river_init_lesser = river_init_lesser.legacyPackages.x86_64-linux.default;
         inherit
           (pkgs)
           dash
diff --git a/home-manager/config/river/init b/home-manager/config/river/init
index 2f14fcaa..c90c143e 100755
--- a/home-manager/config/river/init
+++ b/home-manager/config/river/init
@@ -5,7 +5,7 @@
 
 err_fail() {
     if ! "$@";then
-        printf "%s\n" "$@" >> ~/river_log
+        printf "%s\n" "$*" >> ~/river_log
         exec ~/.config/river/res/safe_init
     fi
 }