From 1b99bfa1839e6732848c44cd1d62983d9146432f Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Fri, 27 Feb 2026 17:36:50 +0100 Subject: [PATCH] replace earlyoom with nohang --- systems/pc/configuration.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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";