summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-07-08 01:02:22 +0200
committerlassulus <lass@blue.r>2018-07-08 01:02:22 +0200
commit279bf4e5530c6337f05916d2d7f86f62921eb7b9 (patch)
treedae840ec6dbebfaef890303606acfba5d0e63d4f /lass
parentb3476561c5fddc324cdfebb1cae84834d21fae52 (diff)
l prism.r: activate earlyoom
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/prism/config.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix
index 2626ebf33..f50f4fae5 100644
--- a/lass/1systems/prism/config.nix
+++ b/lass/1systems/prism/config.nix
@@ -376,4 +376,8 @@ with import <stockholm/lib>;
krebs.build.host = config.krebs.hosts.prism;
# workaround because grub store paths are broken
boot.copyKernels = true;
+ services.earlyoom = {
+ enable = true;
+ freeMemThreshold = 5;
+ };
}