nixos/klipper: add OOMScoreAdjust -999
to make it unlikely that klipper gets killed by OOM killer.
This commit is contained in:
parent
de60bcf52d
commit
1410d89398
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue