aboutsummaryrefslogtreecommitdiff
path: root/share/system/client-common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'share/system/client-common.nix')
-rw-r--r--share/system/client-common.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/system/client-common.nix b/share/system/client-common.nix
index dd7b6b0..db26f4e 100644
--- a/share/system/client-common.nix
+++ b/share/system/client-common.nix
@@ -69,4 +69,10 @@
overpass
inter
];
+
+ services.earlyoom = {
+ enable = true;
+ freeMemThreshold = 5;
+ extraArgs = [ "--prefer '(^|/)(firefox|chromium|signal|bitwarden|electron)$'" ];
+ };
}