l prism.r: activate earlyoom

This commit is contained in:
lassulus 2018-07-08 01:02:22 +02:00
parent b3476561c5
commit 279bf4e553

View File

@ -376,4 +376,8 @@ with import <stockholm/lib>;
krebs.build.host = config.krebs.hosts.prism; krebs.build.host = config.krebs.hosts.prism;
# workaround because grub store paths are broken # workaround because grub store paths are broken
boot.copyKernels = true; boot.copyKernels = true;
services.earlyoom = {
enable = true;
freeMemThreshold = 5;
};
} }