add oom killer to merlin

This commit is contained in:
Sam 2025-01-24 23:37:23 +00:00
parent d189ffa38d
commit 84f6501679
1 changed files with 7 additions and 0 deletions

View File

@ -85,6 +85,13 @@ in {
fsType = "btrfs"; fsType = "btrfs";
}; };
services = {
earlyoom = {
enable = true;
freeMemThreshold = 3;
};
};
networking = { networking = {
hostName = "merlin"; hostName = "merlin";
nameservers = ["${piholeIp}" "${gatewayIp}" "8.8.8.8"]; nameservers = ["${piholeIp}" "${gatewayIp}" "8.8.8.8"];