From 81293e97e68aff1d9da5c1e94a90b49bfa398837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Wed, 22 Oct 2025 22:46:45 +0800 Subject: [PATCH] vanadium/display: reference program path --- nix/configurations/vanadium/nixos/display.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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