diff options
| Commit | 703de1ebcc33b6868093f61cdcac3a38c688bade (patch) | |
|---|---|---|
| Author | 2023-09-25 14:21:13 +0300 | |
| Committer | 2023-09-25 14:21:13 +0300 | |
| Files | c77a1dfb0a079a337706af0098926a06994ec7bf | |
| nix-703de1ebcc33b6868093f61cdcac3a38c688bade.tar nix-703de1ebcc33b6868093f61cdcac3a38c688bade.tar.gz nix-703de1ebcc33b6868093f61cdcac3a38c688bade.zip | ||
| Parent | f72a0f404f9e8a14ced725449f206bdc63c0d8d4 (diff) | |
[services] Fixed xautolock not working due to PATH problems
1 files changed, 4 insertions, 0 deletions
| -rw-r--r-- | services.nix | 4 |
diff --git a/services.nix b/services.nix index cbaced6..954d3e1 100644 --- a/services.nix +++ b/services.nix @@ -18,6 +18,10 @@ }; }; + + # This is kinda gross, because the xautolock service is already defined and configured + # inside services.xserver.xautolock, but it's the only way I know + xautolock.serviceConfig.Environment = [ "DISPLAY=:0" "PATH=/run/current-system/sw/bin" ]; }; systemd.services = { |
