From 679137386d92a5924de54517ff9c63192afe8054 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Thu, 28 Dec 2023 04:58:30 +0400 Subject: [PATCH] nixos: set to false: restartIfChanged and unitConfig.X-StopOnRemoval --- nixos/module.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/module.nix b/nixos/module.nix index e936290..9778e90 100644 --- a/nixos/module.nix +++ b/nixos/module.nix @@ -101,6 +101,8 @@ in KillMode = "none"; SendSIGKILL = "no"; }; + restartIfChanged = false; + unitConfig.X-StopOnRemoval = false; script = '' # sync top-level flake with sp-modules sub-flake # (https://github.com/NixOS/nix/issues/9339) @@ -125,8 +127,10 @@ in KillMode = "none"; SendSIGKILL = "no"; }; + restartIfChanged = false; + unitConfig.X-StopOnRemoval = false; script = '' - # FIXME get URL from systemd parameter + # TODO get URL from systemd parameter nix flake update \ --override-input selfprivacy-nixos-config git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git?ref=flakes @@ -151,6 +155,8 @@ in KillMode = "none"; SendSIGKILL = "no"; }; + restartIfChanged = false; + unitConfig.X-StopOnRemoval = false; }; }; }