From 465cb6824401541d82489e11b5223dbfd50bb132 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 5 May 2017 16:40:12 +0200 Subject: Figure out the user's home directory if $HOME is not set --- misc/launchd/org.nixos.nix-daemon.plist.in | 2 -- misc/systemd/nix-daemon.service.in | 2 -- 2 files changed, 4 deletions(-) (limited to 'misc') diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in index 5d57a5ec8..c5ef97ee9 100644 --- a/misc/launchd/org.nixos.nix-daemon.plist.in +++ b/misc/launchd/org.nixos.nix-daemon.plist.in @@ -16,8 +16,6 @@ NIX_SSL_CERT_FILE /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt - XDG_CACHE_HOME - /root/.cache diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in index 9bfb00e30..5fc04a3f5 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 -- cgit v1.2.3