host: Enable earlyoom
This commit is contained in:
1 parent
deb88dafa7
commit
c147db7c59
3 files changed
+25
-5
No files matched your search
@@ -175,6 +175,12 @@ let
|
||||
# For debugging.
|
||||
# TODO: Lock to known IPs and keys
|
||||
sshd.enable = true;
|
||||
|
||||
# Prevent unexpected OOM situations with heavy swapping
|
||||
earlyoom = {
|
||||
enable = true;
|
||||
enableNotifications = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Don't wait for a network connection
|
||||
|
||||
Reference in new issue
Block a user