mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +01:00
add earlyoom
This commit is contained in:
parent
25463b94b3
commit
3aedd26460
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue