add earlyoom

This commit is contained in:
nora 2024-03-28 22:21:54 +01:00
parent 25463b94b3
commit 3aedd26460

View file

@ -147,6 +147,16 @@ in
# Enable CUPS to print documents.
services.printing.enable = true;
services.earlyoom = {
enable = true;
enableNotifications = true;
# as soon as it starts swapping its SO over
freeSwapThreshold = 100;
};
# Shows notification for `net.nuetzlich.SystemNotifications.Notify` D-Bus messages
services.systembus-notify.enable = true;
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;