host: Enable earlyoom

This commit is contained in:
PapaTutuWawa committed 2021-09-20 11:40:49 +02:00
1 parent deb88dafa7
commit c147db7c59
3 files changed
+25 -5

No files matched your search

+6
View File
@@ -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