fix(tazjin/tverskoy): disable systemd-oomd

This seems to have been turned on in ~November/December 2022, and is
wreaking havoc on my system usability as it keeps killing my X session
as soon as any kind of load happens on the system.

This can be as little as accidentally playing two YouTube videos (as
each YouTube tab can take 3-5GiB of RAM), or trying to process a
dataset locally.

I'm not sure if this is the culprit, but it sure seems like it.

Change-Id: Id742b4506262cc362c9fd3f2575aea23e5c092a7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7858
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2023-01-17 23:34:27 +03:00 committed by clbot
parent aa96e25bbc
commit 425a54d361

View file

@ -159,5 +159,10 @@ lib.fix (self: {
};
};
# systemd-oomd seems to have been enabled by default around ~
# December 2022, and it's really into killing my X session as soon
# as I do anything stressful to the machine
systemd.services.systemd-oomd.enable = lib.mkForce false;
system.stateVersion = "20.09";
})