diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 2adf62c..9ff9eef 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -35,6 +35,11 @@ in { flatpak.enable = true; fstrim.enable = true; + + earlyoom = { + enable = true; + freeMemThreshold = 5; + }; }; # Enable sound with pipewire.