feat(grfn/yeren): enable services.earlyoom

Let's see if this'll prevent my system from locking up when I try to do
too much compilation at once

Change-Id: Ie1ecb973801a6ea51f57ed5f25a1964647f54e77
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5156
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2022-02-01 10:47:36 -05:00 committed by clbot
parent 8db3f1d562
commit 1949c9fa24

View file

@ -65,6 +65,11 @@
device = "/dev/disk/by-uuid/b627cb0e-0451-4f25-94d0-6497e01f0da4"; device = "/dev/disk/by-uuid/b627cb0e-0451-4f25-94d0-6497e01f0da4";
}]; }];
services.earlyoom = {
enable = true;
freeMemThreshold = 5;
};
services.xserver = { services.xserver = {
exportConfiguration = true; exportConfiguration = true;
extraConfig = '' extraConfig = ''