xscreensaver: add xscreensaver to service PATH
Without this the journal will be filled by xscreensaver[468297]: sh: line 1: xscreensaver-command: command not found xscreensaver-systemd: 12:29:22: exec: "xscreensaver-command -quiet -deactivate" exited with status 127
This commit is contained in:
parent
09f3e67950
commit
223a73c2ba
|
@ -53,6 +53,7 @@ in {
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkgs.xscreensaver}/bin/xscreensaver -no-splash";
|
ExecStart = "${pkgs.xscreensaver}/bin/xscreensaver -no-splash";
|
||||||
|
Environment = "PATH=${makeBinPath [ pkgs.xscreensaver ]}";
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||||
|
|
Loading…
Reference in a new issue