diff options
author | ene <ene@sils.li> | 2023-03-04 17:16:04 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-04 17:16:04 +0100 |
commit | dd25b46418cad215f6d01ff571121161a62b486c (patch) | |
tree | 78eb602a9ef52a49e0eef71a25c6d353af12cb2d /home-manager/config/yambar/default.nix | |
parent | Fix: Add grades to packages (diff) | |
download | nixos-config-dd25b46418cad215f6d01ff571121161a62b486c.tar.gz nixos-config-dd25b46418cad215f6d01ff571121161a62b486c.zip |
Fix(hm/conf/yambar): Update the deps
Diffstat (limited to 'home-manager/config/yambar/default.nix')
-rw-r--r-- | home-manager/config/yambar/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/home-manager/config/yambar/default.nix b/home-manager/config/yambar/default.nix index 75f2afdc..46a19f0d 100644 --- a/home-manager/config/yambar/default.nix +++ b/home-manager/config/yambar/default.nix @@ -1,6 +1,7 @@ { config, sysLib, + system, pkgs, grades, yambar_cpu, @@ -19,15 +20,17 @@ } + "/bin/${builtins.baseNameOf file}"; in { - xdg.configFile."yambar/config.yml".source = builtins.substitueAll { + xdg.configFile."yambar/config.yml".source = pkgs.substituteAll { src = ./config/config.yml; volume_script = makeScript { - dependencies = builtins.attrValues {inherit (pkgs) pactl gawk;}; + dependencies = builtins.attrValues {inherit (pkgs) pulseaudio gawk;}; file = ./scripts/sound-volume.sh; }; grade_average_script = makeScript { - dependencies = [grades]; + dependencies = [ + grades.outputs.packages.${system}.default + ]; file = ./scripts/grades-average.sh; }; cpu_script = yambar_cpu; |