From eb221a898f6ff927ea48dc4d4ea2445fb5713c79 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Mon, 9 Oct 2023 23:54:53 -0400 Subject: [PATCH] nixos/lxd-agent: prevent restarting on change --- nixos/modules/virtualisation/lxd-agent.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/virtualisation/lxd-agent.nix b/nixos/modules/virtualisation/lxd-agent.nix index 5bcc86e3bcbe..194e8fd537d9 100644 --- a/nixos/modules/virtualisation/lxd-agent.nix +++ b/nixos/modules/virtualisation/lxd-agent.nix @@ -61,6 +61,7 @@ in { preStart = preStartScript; # avoid killing nixos-rebuild switch when executed through lxc exec + restartIfChanged = false; stopIfChanged = false; unitConfig = {