diff --git a/nix/configurations/vanadium/nixos/display.nix b/nix/configurations/vanadium/nixos/display.nix index fbc65165..94d31e1c 100644 --- a/nix/configurations/vanadium/nixos/display.nix +++ b/nix/configurations/vanadium/nixos/display.nix @@ -29,8 +29,8 @@ services.autorandr = { enable = true; hooks.postswitch = { - "10_xmobar" = "pkill xmobar"; # make sure there are no duplicated xmobar - "20_xmonad" = "xmonad --restart"; # make sure feh keeps up + "10_xmobar" = "${lib.getExe' pkgs.toybox "pkill"} xmobar"; # make sure there are no duplicated xmobar + "20_xmonad" = "${lib.getExe pkgs.haskellPackages.xmonad} --restart"; # make sure feh keeps up }; profiles = let