From 43ee0a64141504b165f0245545130d64b1b0ca15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 6 Dec 2023 21:48:12 +0100 Subject: [PATCH] Update nixos/common/nix.nix Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com> --- nixos/common/nix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/common/nix.nix b/nixos/common/nix.nix index 54d4a86..935164d 100644 --- a/nixos/common/nix.nix +++ b/nixos/common/nix.nix @@ -25,7 +25,7 @@ # Make builds to be more likely killed than important services. # 100 is the default for user slices and 500 is systemd-coredumpd@ # We rather want a build to be killed than our precious user sessions as builds can be easily restarted. - systemd.services.nix-daemon.OOMScoreAdjust = lib.mkDefault 250; + systemd.services.nix-daemon.serviceConfig.OOMScoreAdjust = lib.mkDefault 250; # Avoid copying unnecessary stuff over SSH nix.settings.builders-use-substitutes = true;