fix: Change the killmode of rebuild units

This commit is contained in:
Inex Code 2024-12-07 17:50:46 +03:00
parent 4cd90d0c93
commit 025e9dcea2
No known key found for this signature in database

View file

@ -107,7 +107,7 @@ in
ExecStart = ''
${nixos-rebuild} switch --flake .#${config-id}
'';
KillMode = "none";
KillMode = "mixed";
SendSIGKILL = "no";
};
restartIfChanged = false;
@ -134,7 +134,7 @@ in
ExecStart = ''
${nixos-rebuild} switch --flake .#${config-id}
'';
KillMode = "none";
KillMode = "mixed";
SendSIGKILL = "no";
};
restartIfChanged = false;
@ -156,7 +156,7 @@ in
ExecStart = ''
${nixos-rebuild} switch --rollback --flake .#${config-id}
'';
KillMode = "none";
KillMode = "mixed";
SendSIGKILL = "no";
};
restartIfChanged = false;