From 5ce5da9b23ddf3859edc530fade3a60e644d9942 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 25 May 2024 18:11:33 +0200 Subject: fix(yambar): Correctly specify the `yambar-{cpu,memory}` binaries --- modules/home/conf/yambar/default.nix | 6 +++--- 1 file 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;}; -- cgit 1.4.1