Choose a reasonable number similar to LimitNOFile

This commit is contained in:
Ana Hobden 2023-07-07 07:52:16 -07:00
parent 4b2f155f0a
commit d76bf29c5f

View file

@ -10,7 +10,7 @@ ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
KillMode=process KillMode=process
LimitNOFILE=1048576 LimitNOFILE=1048576
TasksMax=infinity TasksMax=1048576
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target