nixos/klipper: add OOMScoreAdjust -999

to make it unlikely that klipper gets killed by OOM killer.
This commit is contained in:
Richard Marko 2022-08-10 11:40:27 +02:00 committed by Peter Hoeg
parent de60bcf52d
commit 1410d89398

View file

@ -129,6 +129,7 @@ in
RuntimeDirectory = "klipper";
SupplementaryGroups = [ "dialout" ];
WorkingDirectory = "${cfg.package}/lib";
OOMScoreAdjust = "-999";
} // (if cfg.user != null then {
Group = cfg.group;
User = cfg.user;