summaryrefslogtreecommitdiffstats
path: root/tv/1systems/alnus/config.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/1systems/alnus/config.nix')
-rw-r--r--tv/1systems/alnus/config.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/tv/1systems/alnus/config.nix b/tv/1systems/alnus/config.nix
index d7589bc1f..f8f1b24fa 100644
--- a/tv/1systems/alnus/config.nix
+++ b/tv/1systems/alnus/config.nix
@@ -58,6 +58,12 @@ with import <stockholm/lib>;
allowUnfree = true;
};
+ services.earlyoom.enable = true;
+ services.earlyoom.freeMemThreshold = 5;
+ systemd.services.earlyoom.environment.EARLYOOM_ARGS = toString [
+ "--prefer '^(Web Content|Privileged Cont)$'" # firefox tabs
+ ];
+
services.xserver = {
enable = true;
layout = "de";