1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 00:18:30 +02: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:
afreakk 2022-04-25 20:00:01 +02:00 committed by Robert Helgesson
parent 09f3e67950
commit 223a73c2ba
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -53,6 +53,7 @@ in {
Service = {
ExecStart = "${pkgs.xscreensaver}/bin/xscreensaver -no-splash";
Environment = "PATH=${makeBinPath [ pkgs.xscreensaver ]}";
};
Install = { WantedBy = [ "graphical-session.target" ]; };