about summary refs log tree commit diff stats
path: root/home-manager/config
diff options
context:
space:
mode:
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
 }