about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-31T09·55+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-31T09·55+0200
commit7c33ed691c123781c7fe6046e3e7c6a6b99c61e4 (patch)
treeb58e9010a485e9c8c629488c65fc9898bbb9ae03
parentd74c8a3f4e1131ee9dbd9898d141789832802306 (diff)
nix-daemon.service: Set $XDG_CACHE_HOME
Nix requires either $HOME or $XDG_CACHE_HOME to be set.
-rw-r--r--misc/systemd/nix-daemon.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in
index 5fc04a3f5713..fcd799e177d0 100644
--- a/misc/systemd/nix-daemon.service.in
+++ b/misc/systemd/nix-daemon.service.in
@@ -7,3 +7,4 @@ ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
 [Service]
 ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
 KillMode=process
+Environment=XDG_CACHE_HOME=/root/.cache