mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 08:51:54 -05:00
mako: setup binPath
This commit is contained in:
parent
84615ef784
commit
04fc8d374b
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue