forked from lix-project/lix
cebef6a250
5628480acd/nixos/modules/services/misc/nix-daemon.nix (L737)
Closes https://github.com/NixOS/nix/issues/6007
15 lines
381 B
SYSTEMD
15 lines
381 B
SYSTEMD
[Unit]
|
|
Description=Nix Daemon
|
|
Documentation=man:nix-daemon https://nixos.org/manual
|
|
RequiresMountsFor=@storedir@
|
|
RequiresMountsFor=@localstatedir@
|
|
RequiresMountsFor=@localstatedir@/nix/db
|
|
ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
|
|
|
|
[Service]
|
|
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
|
|
KillMode=process
|
|
LimitNOFILE=4096
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|