zaphyra's git: nixfiles

zaphyra and void's nixfiles

commit fc5cb7f59b698fc1b305ec6df7cf06ee0ed8bd66
parent a9d53d493f257abac399989bc6964a36f375bf44
Author: Katja (ctucx) <git@ctu.cx>
Date: Mon, 19 May 2025 13:30:11 +0200

config/nixos/modules/presets/graphical/typeGnomeMinimal: add earlyoom config
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/config/nixos/modules/presets/graphical/typeGnomeMinimal.nix b/config/nixos/modules/presets/graphical/typeGnomeMinimal.nix
@@ -22,7 +22,14 @@ in
       })
     ];
 
-    modules.gnomeMinimal.enable = true;
+    modules = {
+      gnomeMinimal.enable = true;
+      services.earlyoom.avoid = [
+        "gnome-shell"
+        "gdm"
+        "mutter"
+      ];
+    };
 
     networking.networkmanager.enable = true;
   };