nixos/libvirt: changing process priority for oom killer

This commit is contained in:
Izorkin 2024-02-04 19:54:02 +03:00
parent 4c84a72c7c
commit 9ad115e5f3
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

View file

@ -466,6 +466,7 @@ in
Type = "notify";
KillMode = "process"; # when stopping, leave the VMs alone
Restart = "no";
OOMScoreAdjust = "-999";
};
restartIfChanged = false;
};