From 27468aae960881071e431e734fbba10fb800a574 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Wed, 3 Jan 2024 02:45:38 +0100 Subject: nixos/oomd: add missing section to use slice --- nixos/modules/system/boot/systemd/oomd.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos') diff --git a/nixos/modules/system/boot/systemd/oomd.nix b/nixos/modules/system/boot/systemd/oomd.nix index 2697b3207ee25..000b18c01609a 100644 --- a/nixos/modules/system/boot/systemd/oomd.nix +++ b/nixos/modules/system/boot/systemd/oomd.nix @@ -61,6 +61,7 @@ in { }; systemd.user.units."slice" = lib.mkIf cfg.enableUserSlices { text = '' + [Slice] ManagedOOMMemoryPressure=kill ManagedOOMMemoryPressureLimit=80% ''; -- cgit 1.4.1