nixos/oomd: add missing section to use slice

This commit is contained in:
Sandro Jäckel 2024-01-03 02:45:38 +01:00
parent 0a1d1907a5
commit 27468aae96
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -61,6 +61,7 @@ in {
};
systemd.user.units."slice" = lib.mkIf cfg.enableUserSlices {
text = ''
[Slice]
ManagedOOMMemoryPressure=kill
ManagedOOMMemoryPressureLimit=80%
'';