aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-05-19 21:16:07 +0300
committerArtturin <Artturin@artturin.com>2022-05-19 21:16:07 +0300
commitcebef6a25031e984a30d823f19b4cdc414ee9b48 (patch)
treec766bc44d2b8e861da3217f9d9604ecbd90832c7 /misc
parentbf89cd95a4af35ab15f7fad3186c8f6190f87c84 (diff)
nix-daemon.service: sync LimitNOFILE with the nixos service
https://github.com/NixOS/nixpkgs/blob/5628480acda2985cc334d0c5ec85512858ed60f9/nixos/modules/services/misc/nix-daemon.nix#L737 Closes https://github.com/NixOS/nix/issues/6007
Diffstat (limited to 'misc')
-rw-r--r--misc/systemd/nix-daemon.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in
index 24d894898..e3ac42beb 100644
--- a/misc/systemd/nix-daemon.service.in
+++ b/misc/systemd/nix-daemon.service.in
@@ -9,6 +9,7 @@ ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
[Service]
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
KillMode=process
+LimitNOFILE=4096
[Install]
WantedBy=multi-user.target