summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/enzo/desktop.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/machines/enzo/desktop.nix b/machines/enzo/desktop.nix
index 1324d85..6599f45 100644
--- a/machines/enzo/desktop.nix
+++ b/machines/enzo/desktop.nix
@@ -60,6 +60,11 @@
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
+ # yambar runs on-click commands via execvp with no shell, so their
+ # binaries must be on the service PATH. libnotify -> notify-send,
+ # wireplumber -> wpctl (volume). Without this every on-click fails with
+ # ENOENT ("No such file or directory").
+ path = [ pkgs.libnotify pkgs.wireplumber ];
serviceConfig = {
ExecStart = "${pkgs.yambar}/bin/yambar";
Restart = "on-failure";