From b7908a51fb55500cc507c67126b3e3cb42861d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 7 Aug 2023 08:26:48 +0300 Subject: [PATCH] nsd: nsd_control.pem is the last thing in nsd-control-setup --- hosts/vno1-oh2/configuration.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 5723aa4..7cd4bb3 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -190,9 +190,7 @@ systemd.services.nsd-control-setup = { requiredBy = ["nsd.service"]; before = ["nsd.service"]; - unitConfig = { - ConditionPathExists = "!/etc/nsd/nsd_control.key"; - }; + unitConfig.ConditionPathExists = "!/etc/nsd/nsd_control.pem"; serviceConfig = { Type = "oneshot"; UMask = 0077;