diff options
author | lassulus <lass@blue.r> | 2018-07-08 01:02:22 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-07-08 01:02:22 +0200 |
commit | 279bf4e5530c6337f05916d2d7f86f62921eb7b9 (patch) | |
tree | dae840ec6dbebfaef890303606acfba5d0e63d4f /lass/1systems/prism/config.nix | |
parent | b3476561c5fddc324cdfebb1cae84834d21fae52 (diff) |
l prism.r: activate earlyoom
Diffstat (limited to 'lass/1systems/prism/config.nix')
-rw-r--r-- | lass/1systems/prism/config.nix | 4 |
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; + }; } |