diff --git a/hosts/semita/default.nix b/hosts/semita/default.nix index bd8d7e5..04734d1 100644 --- a/hosts/semita/default.nix +++ b/hosts/semita/default.nix @@ -86,6 +86,11 @@ in { dpi = 144; upscaleDefaultCursor = true; }; + # enable oom killer when system ram drops below 5% free + earlyoom = { + enable = true; + freeMemThreshold = 5; # <%5 free + }; }; environment.variables = {