zaphyra's git: nixfiles

zaphyra and void's nixfiles

commit a9d53d493f257abac399989bc6964a36f375bf44
parent 7940d9415e9dae7377f5953c4d06671eee1f3774
Author: Katja (ctucx) <git@ctu.cx>
Date: Mon, 19 May 2025 13:29:06 +0200

hosts/huntii: enable earlyoom and systemd-oomd
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/hosts/huntii/default.nix b/hosts/huntii/default.nix
@@ -13,7 +13,7 @@
   };
 
   configuration =
-    { pkgs, ... }:
+    { config, pkgs, ... }:
     {
 
       modules = {

@@ -38,6 +38,11 @@
           graphical.type = "gnomeMinimal";
         };
 
+        services = {
+          earlyoom.enable = true;
+          systemd-oomd.enable = true;
+        };
+
         users.katja.enable = true;
       };