diff options
author | tv <tv@krebsco.de> | 2020-08-26 17:50:24 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-08-26 18:22:10 +0200 |
commit | 92874c19bfef708134633fe7ee6fc997deb7252e (patch) | |
tree | 6afb41caa87f95414d8654bbcb05181ab69643c4 /tv/1systems/alnus/config.nix | |
parent | f81eff7d672e53ca62ab4918c6f4f1befb17a742 (diff) |
tv alnus: enable earlyoom; prefer firefox tabs
Diffstat (limited to 'tv/1systems/alnus/config.nix')
-rw-r--r-- | tv/1systems/alnus/config.nix | 6 |
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"; |