mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
16 lines
401 B
SYSTEMD
16 lines
401 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=1048576
|
|
TasksMax=1048576
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|