mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
7c33ed691c
Nix requires either $HOME or $XDG_CACHE_HOME to be set.
10 lines
271 B
SYSTEMD
10 lines
271 B
SYSTEMD
[Unit]
|
|
Description=Nix Daemon
|
|
RequiresMountsFor=@storedir@
|
|
RequiresMountsFor=@localstatedir@
|
|
ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
|
|
|
|
[Service]
|
|
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
|
|
KillMode=process
|
|
Environment=XDG_CACHE_HOME=/root/.cache
|