Figure out the user's home directory if $HOME is not set
This commit is contained in:
parent
eba840c8a1
commit
465cb68244
8 changed files with 84 additions and 36 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue