about summary refs log tree commit diff
path: root/misc/systemd
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-05T14·40+0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-05T15·08+0200
commit465cb6824401541d82489e11b5223dbfd50bb132 (patch)
tree98b112563cbf08c29e94c4ddc0755de95524186f /misc/systemd
parenteba840c8a13b465ace90172ff76a0db2899ab11b (diff)
Figure out the user's home directory if $HOME is not set
Diffstat (limited to 'misc/systemd')
-rw-r--r--misc/systemd/nix-daemon.service.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in
index 9bfb00e306b6..5fc04a3f5713 100644
--- a/misc/systemd/nix-daemon.service.in
+++ b/misc/systemd/nix-daemon.service.in
@@ -7,5 +7,3 @@ ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
 [Service]
 ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
 KillMode=process
-Environment=XDG_CACHE_HOME=/root/.cache
-Environment=XDG_CONFIG_HOME=/root/.config