summaryrefslogtreecommitdiffstats
path: root/lass/1systems/mors/config.nix
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-07-03 20:35:11 +0200
committerlassulus <lass@blue.r>2018-07-03 20:35:11 +0200
commit11fb70ca0787094d2425511f7942fbbc6a8401fd (patch)
tree5eb38930b809f94da1964a9405707049f93f9854 /lass/1systems/mors/config.nix
parentf22a073784b84a3b46ede5930571c8e6060af946 (diff)
l mors: add earlyoom
Diffstat (limited to 'lass/1systems/mors/config.nix')
-rw-r--r--lass/1systems/mors/config.nix5
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;
+ };
}