about summary refs log tree commit diff stats
path: root/home-manager/config
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-22 17:50:50 +0100
committerene <ene@sils.li>2023-03-22 17:53:22 +0100
commit336baf8b92832d89871eefc7d2bfbc589ef8ec7f (patch)
tree93fc303d9708f582c76e8b12721eb8788da9629b /home-manager/config
parentFix(hm/wms/river): Fix path in init file (diff)
downloadnixos-config-336baf8b92832d89871eefc7d2bfbc589ef8ec7f.tar.gz
nixos-config-336baf8b92832d89871eefc7d2bfbc589ef8ec7f.zip
Fix(hm/conf/yambar): Add deps for grades-average script
Diffstat (limited to '')
-rw-r--r--home-manager/config/yambar/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/home-manager/config/yambar/default.nix b/home-manager/config/yambar/default.nix
index db77600e..977d39a9 100644
--- a/home-manager/config/yambar/default.nix
+++ b/home-manager/config/yambar/default.nix
@@ -24,13 +24,15 @@ in {
     src = ./config/config.yml;
 
     volume_script = makeScript {
-      dependencies = builtins.attrValues {inherit (pkgs) pulseaudio gawk;};
+      dependencies = builtins.attrValues {inherit (pkgs) pulseaudio gawk coreutils;};
       file = ./scripts/sound-volume;
     };
     grade_average_script = makeScript {
-      dependencies = [
-        grades.outputs.packages.${system}.default
-      ];
+      dependencies =
+        [
+          grades.outputs.packages.${system}.default
+        ]
+        ++ (builtins.attrValues {inherit (pkgs) coreutils gawk;});
       file = ./scripts/grades-average;
     };
     cpu_script = yambar_cpu.app.${system}.default.program;