From 425a54d36102e2909e7a99d816b6615ac5523996 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 17 Jan 2023 23:34:27 +0300 Subject: 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 Reviewed-by: tazjin --- users/tazjin/nixos/tverskoy/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'users/tazjin/nixos') diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index 57e7aa4a1133..4aa17cc2c4cd 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -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"; }) -- cgit 1.4.1