diff options
author | lassulus <lass@blue.r> | 2018-07-03 20:35:11 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-07-03 20:35:11 +0200 |
commit | 11fb70ca0787094d2425511f7942fbbc6a8401fd (patch) | |
tree | 5eb38930b809f94da1964a9405707049f93f9854 /lass/1systems/mors | |
parent | f22a073784b84a3b46ede5930571c8e6060af946 (diff) |
l mors: add earlyoom
Diffstat (limited to 'lass/1systems/mors')
-rw-r--r-- | lass/1systems/mors/config.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lass/1systems/mors/config.nix b/lass/1systems/mors/config.nix index fd26d0b66..065ab2396 100644 --- a/lass/1systems/mors/config.nix +++ b/lass/1systems/mors/config.nix @@ -180,4 +180,9 @@ with import <stockholm/lib>; }; }); virtualisation.libvirtd.enable = true; + + services.earlyoom = { + enable = true; + freeMemThreshold = 5; + }; } |