From 0c9b217d36da3e29f23ece44b034fa98322daf28 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Sat, 8 Nov 2025 19:21:05 +0100 Subject: Remote build support fully modularized --- common.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 2ffe4d9..0bafc47 100644 --- a/common.nix +++ b/common.nix @@ -34,6 +34,11 @@ dates = "weekly"; options = "--delete-older-than 30d"; }; + systemd.services.nix-daemon.serviceConfig = { + MemoryAccounting = true; + MemoryMax = "90%"; + OOMScoreAdjust = 500; + }; environment.systemPackages = with pkgs; [ htop -- cgit v1.3.1