host: Enable earlyoom
This commit is contained in:
@@ -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