about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-25 18:11:33 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-25 18:11:33 +0200
commit5ce5da9b23ddf3859edc530fade3a60e644d9942 (patch)
treecdf65136a6fe67167c32453044b47b4a2004b362
parentfix(git/aliases): Add missing config attrs (diff)
downloadnixos-config-5ce5da9b23ddf3859edc530fade3a60e644d9942.tar.gz
nixos-config-5ce5da9b23ddf3859edc530fade3a60e644d9942.zip
fix(yambar): Correctly specify the `yambar-{cpu,memory}` binaries
Diffstat (limited to '')
-rw-r--r--modules/home/conf/yambar/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/home/conf/yambar/default.nix b/modules/home/conf/yambar/default.nix
index 125030af..007e7f25 100644
--- a/modules/home/conf/yambar/default.nix
+++ b/modules/home/conf/yambar/default.nix
@@ -1,8 +1,8 @@
 {
   nixosConfig,
   sysLib,
-  system,
   pkgs,
+  lib,
   ...
 }: let
   makeScript = {
@@ -38,9 +38,9 @@ in {
       name = "sound-volume";
     };
 
-    cpu_script = pkgs.yambar-cpu;
+    cpu_script = lib.getExe pkgs.yambar-cpu;
 
-    memory_script = pkgs.yambar-memory;
+    memory_script = lib.getExe pkgs.yambar-memory;
 
     disk_script = makeScript {
       dependencies = builtins.attrValues {inherit (pkgs) gawk btrfs-progs coreutils;};