From 1e47c010323aceb2f9cd66baed2bb19f6c1a560d Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sun, 3 Mar 2024 11:39:52 +0100 Subject: [PATCH] ulimit: limit nix builders to 10000 processes at once --- hosts/quitte/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/quitte/configuration.nix b/hosts/quitte/configuration.nix index 32c369e..2516a8d 100644 --- a/hosts/quitte/configuration.nix +++ b/hosts/quitte/configuration.nix @@ -37,6 +37,12 @@ type = "hard"; value = "2000"; } + { + domain = "@nixbld"; + item = "nproc"; + type = "hard"; + value = "10000"; + } ]; # Enable the OpenSSH daemon. services.openssh.enable = true;