about summary refs log tree commit diff
path: root/users/grfn/system
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/system')
-rw-r--r--users/grfn/system/system/machines/yeren.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/grfn/system/system/machines/yeren.nix b/users/grfn/system/system/machines/yeren.nix
index 5bdb8eab0cf5..228631c8cc6f 100644
--- a/users/grfn/system/system/machines/yeren.nix
+++ b/users/grfn/system/system/machines/yeren.nix
@@ -65,6 +65,11 @@
     device = "/dev/disk/by-uuid/b627cb0e-0451-4f25-94d0-6497e01f0da4";
   }];
 
+  services.earlyoom = {
+    enable = true;
+    freeMemThreshold = 5;
+  };
+
   services.xserver = {
     exportConfiguration = true;
     extraConfig = ''