diff options
Diffstat (limited to 'users/wpcarro/nixos/ava/default.nix')
-rw-r--r-- | users/wpcarro/nixos/ava/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/ava/default.nix b/users/wpcarro/nixos/ava/default.nix index 267b46fdf5ef..36529c3550f7 100644 --- a/users/wpcarro/nixos/ava/default.nix +++ b/users/wpcarro/nixos/ava/default.nix @@ -42,6 +42,10 @@ in }; services = wpcarro.common.services // { + # Check the amount of available memory and free swap a few times per second + # and kill the largest process if both are below 10%. + earlyoom.enable = true; + tailscale.enable = true; openssh.enable = true; |