diff --git a/nixos/module.nix b/nixos/module.nix index 0203bf0..8a5b2a0 100644 --- a/nixos/module.nix +++ b/nixos/module.nix @@ -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;