2014-04-07 12:18:54 +03:00
|
|
|
[Unit]
|
|
|
|
Description=Nix Daemon
|
2022-03-13 18:42:26 +02:00
|
|
|
Documentation=man:nix-daemon https://nixos.org/manual
|
2014-04-07 12:18:54 +03:00
|
|
|
RequiresMountsFor=@storedir@
|
|
|
|
RequiresMountsFor=@localstatedir@
|
2022-03-30 04:05:57 +03:00
|
|
|
RequiresMountsFor=@localstatedir@/nix/db
|
2014-04-07 12:18:54 +03:00
|
|
|
ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
|
|
|
|
KillMode=process
|
2022-06-10 17:46:57 +03:00
|
|
|
LimitNOFILE=1048576
|
2023-07-07 17:52:16 +03:00
|
|
|
TasksMax=1048576
|
2024-09-03 22:07:18 +03:00
|
|
|
Delegate=yes
|
2019-08-27 11:35:35 +03:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|