diff --git a/systems/pc/configuration.nix b/systems/pc/configuration.nix index d012d5d..5f3734c 100644 --- a/systems/pc/configuration.nix +++ b/systems/pc/configuration.nix @@ -120,11 +120,7 @@ }; }; - services.earlyoom = { - enable = true; - freeMemThreshold = 2; - freeSwapThreshold = 2; - }; + services.nohang.enable = true; services.logind.settings.Login = { HandlePowerKey = "suspend";