From 025e9dcea2824afb12d2b59aefb62d610b52eca7 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Sat, 7 Dec 2024 17:50:46 +0300 Subject: [PATCH] fix: Change the killmode of rebuild units --- nixos/module.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;