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