about summary refs log tree commit diff
path: root/misc
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
parenteba840c8a13b465ace90172ff76a0db2899ab11b (diff)
Figure out the user's home directory if $HOME is not set
Diffstat (limited to 'misc')
-rw-r--r--misc/launchd/org.nixos.nix-daemon.plist.in2
-rw-r--r--misc/systemd/nix-daemon.service.in2
2 files changed, 0 insertions, 4 deletions
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in
index 5d57a5ec8ff1..c5ef97ee9a3f 100644
--- a/misc/launchd/org.nixos.nix-daemon.plist.in
+++ b/misc/launchd/org.nixos.nix-daemon.plist.in
@@ -16,8 +16,6 @@
     <dict>
       <key>NIX_SSL_CERT_FILE</key>
       <string>/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt</string>
-      <key>XDG_CACHE_HOME</key>
-      <string>/root/.cache</string>
     </dict>
   </dict>
 </plist>
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