mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-05-13 13:42:50 +02:00
add earlyoom
This commit is contained in:
parent
32279b0ff0
commit
0c45d0f9f3
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