ulimit: limit nix builders to 10000 processes at once

This commit is contained in:
Rouven Seifert 2024-03-03 11:39:52 +01:00
parent d611cc5a26
commit 1e47c01032
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -37,6 +37,12 @@
type = "hard"; type = "hard";
value = "2000"; value = "2000";
} }
{
domain = "@nixbld";
item = "nproc";
type = "hard";
value = "10000";
}
]; ];
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;