diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-01-03 02:45:38 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-01-03 02:45:38 +0100 |
commit | 27468aae960881071e431e734fbba10fb800a574 (patch) | |
tree | 5fd4b3f22f47889b91b831ecccc454be7d94aaf0 /nixos | |
parent | 0a1d1907a5b0767fae667177cd2850cb7039029f (diff) |
nixos/oomd: add missing section to use slice
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/systemd/oomd.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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% ''; |