tv alnus: enable earlyoom; prefer firefox tabs

This commit is contained in:
tv 2020-08-26 17:50:24 +02:00
parent f81eff7d67
commit 92874c19bf

View file

@ -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";