diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 118e796..4279974 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -188,7 +188,12 @@ systemd.services.nsd-control-setup = { requiredBy = ["nsd.service"]; before = ["nsd.service"]; - unitConfig.ConditionPathExists = "!/etc/nsd/nsd_control.pem"; + unitConfig.ConditionPathExists = [ + "!/etc/nsd/nsd_control.key" + "!/etc/nsd/nsd_control.pem" + "!/etc/nsd/nsd_server.key" + "!/etc/nsd/nsd_server.pem" + ]; serviceConfig = { Type = "oneshot"; UMask = 0077; diff --git a/modules/services/deployerbot/default.nix b/modules/services/deployerbot/default.nix index 8d516a7..52cc217 100644 --- a/modules/services/deployerbot/default.nix +++ b/modules/services/deployerbot/default.nix @@ -36,7 +36,7 @@ systemd.services.deployerbot = { description = "Update all known systems"; environment = {TZ = "UTC";}; - path = [ pkgs.git pkgs.openssh pkgs.nix ]; + path = [pkgs.git pkgs.openssh pkgs.nix]; serviceConfig = { Type = "oneshot"; User = "deployerbot-main";