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:
parent
8db3f1d562
commit
1949c9fa24
1 changed files with 5 additions and 0 deletions
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in a new issue