ulimit: limit nix builders to 10000 processes at once
This commit is contained in:
parent
d611cc5a26
commit
1e47c01032
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue