mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
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
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ in {
|
|||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.xscreensaver}/bin/xscreensaver -no-splash";
|
||||
Environment = "PATH=${makeBinPath [ pkgs.xscreensaver ]}";
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
|
Loading…
Reference in a new issue