diff options
author | ene <ene@sils.li> | 2023-02-22 17:58:39 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-22 17:58:39 +0100 |
commit | cda104d1fedcd5f49ae82bfb3e5603e68d0d5e81 (patch) | |
tree | 48df62f51ef6fcfd2253582e4598bc191f034599 /home-manager | |
parent | Docs(todo): Refactor and Update (diff) | |
download | nixos-config-cda104d1fedcd5f49ae82bfb3e5603e68d0d5e81.tar.gz nixos-config-cda104d1fedcd5f49ae82bfb3e5603e68d0d5e81.zip |
Fix(river): Add further dependency for the init script
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/river/default.nix | 3 | ||||
-rwxr-xr-x | home-manager/config/river/init | 2 |
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 } |