From 0a389da154f6e4901b60c86f39e883cb9cf05a11 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Thu, 25 Sep 2025 18:39:49 +0200 Subject: Whatever --- common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 63e3ab0..1dab9f0 100644 --- a/common.nix +++ b/common.nix @@ -16,6 +16,12 @@ enableUserSlices = true; enableSystemSlice = true; enableRootSlice = true; + extraConfig = { + SwapUsedLimit="50%"; + DefaultMemoryPressureLimit="50%"; + DefaultMemoryPressureDurationSec=20; + + }; }; nix.gc = { @@ -53,6 +59,8 @@ gnumake clang rustup + + # D ]; # This option defines the first version of NixOS you have installed on this particular machine, -- cgit v1.3.1