From cc5eee7557c0984514ce8ab0d3c1e7a2500394cd Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 9 Sep 2024 15:50:30 -0500 Subject: [PATCH] nixos/services/earlyoom: add more --- modules/nixos/services/earlyoom/default.nix | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/modules/nixos/services/earlyoom/default.nix b/modules/nixos/services/earlyoom/default.nix index 88191fff5..39572c2ec 100644 --- a/modules/nixos/services/earlyoom/default.nix +++ b/modules/nixos/services/earlyoom/default.nix @@ -27,17 +27,25 @@ in let appsToAvoid = concatStringsSep "|" [ "(h|H)yprland" - "sway" - "foot" - "kitty" - "wezterm" + "Xwayland" + "bash" "cryptsetup" "dbus-.*" - "Xwayland" + "foot" "gpg-agent" + "greetd" + "kitty" + "n?vim" + ".*qemu-system.*" + "regreet" + "sddm" + "ssh-agent" + "sshd" + "sway" "systemd" "systemd-.*" - "ssh-agent" + "wezterm" + "zsh" ]; appsToPrefer = concatStringsSep "|" [ @@ -49,6 +57,7 @@ in ".*.exe" "java.*" "pipewire(.*)" + "nix" ]; in [