diff options
Diffstat (limited to 'share')
| -rw-r--r-- | share/system/client-common.nix | 6 |
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)$'" ]; + }; } |
