From dd25b46418cad215f6d01ff571121161a62b486c Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 4 Mar 2023 17:16:04 +0100 Subject: Fix(hm/conf/yambar): Update the deps --- home-manager/config/yambar/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'home-manager/config/yambar') 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; -- cgit 1.4.1