mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
nixos/oomd: add missing section to use slice
This commit is contained in:
parent
0a1d1907a5
commit
27468aae96
@ -61,6 +61,7 @@ in {
|
||||
};
|
||||
systemd.user.units."slice" = lib.mkIf cfg.enableUserSlices {
|
||||
text = ''
|
||||
[Slice]
|
||||
ManagedOOMMemoryPressure=kill
|
||||
ManagedOOMMemoryPressureLimit=80%
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user