about summary refs log tree commit diff
path: root/misc/systemd/nix-daemon.service.in
blob: fcd799e177d0d7eb000af487934f86623b82ac98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
[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