From 1005fa4a11c98e3ef0863a64f257e5448b36070b Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Mon, 16 Feb 2026 19:30:01 +0100 Subject: [PATCH] earlyoom and update intellij --- modules/graphical/code.nix | 2 +- systems/pc/configuration.nix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/graphical/code.nix b/modules/graphical/code.nix index 059278b..becf746 100644 --- a/modules/graphical/code.nix +++ b/modules/graphical/code.nix @@ -22,7 +22,7 @@ in with pkgs; [ man-pages - stable.jetbrains.idea-ultimate + jetbrains.idea typescript bruno nodejs_22 # needed for tabby extension diff --git a/systems/pc/configuration.nix b/systems/pc/configuration.nix index d97411c..d012d5d 100644 --- a/systems/pc/configuration.nix +++ b/systems/pc/configuration.nix @@ -120,6 +120,12 @@ }; }; + services.earlyoom = { + enable = true; + freeMemThreshold = 2; + freeSwapThreshold = 2; + }; + services.logind.settings.Login = { HandlePowerKey = "suspend"; };