mako: setup binPath

This commit is contained in:
Aly Raffauf 2024-08-29 18:31:19 -04:00
parent 84615ef784
commit 04fc8d374b

View file

@ -25,7 +25,7 @@ in {
width = 400; width = 400;
extraConfig = '' extraConfig = ''
on-notify=exec ${lib.getExe pkgs.mpv} ${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/message.oga on-notify=exec mpv ${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/message.oga
outer-margin=20 outer-margin=20
[mode=do-not-disturb] [mode=do-not-disturb]
@ -44,6 +44,7 @@ in {
Service = { Service = {
BusName = "org.freedesktop.Notifications"; BusName = "org.freedesktop.Notifications";
Environment = ["PATH=${pkgs.lib.makeBinPath [pkgs.bash pkgs.mpv]}"];
ExecReload = ''${lib.getExe' pkgs.mako "makoctl"} reload''; ExecReload = ''${lib.getExe' pkgs.mako "makoctl"} reload'';
ExecStart = "${lib.getExe pkgs.mako}"; ExecStart = "${lib.getExe pkgs.mako}";
Restart = lib.mkForce "no"; Restart = lib.mkForce "no";