nixos/autorandr: added new KillMode

Prevents Udev Rule from killing processes started by autorandr
This commit is contained in:
David Lewis 2022-01-19 20:08:32 +00:00 committed by Cole Helbling
parent 5e78d68b2d
commit 26ca9776aa

View file

@ -43,6 +43,7 @@ in {
ExecStart = "${pkgs.autorandr}/bin/autorandr --batch --change --default ${cfg.defaultTarget}";
Type = "oneshot";
RemainAfterExit = false;
KillMode = "process";
};
};