summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-05-30 17:42:24 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-05-30 17:42:24 +0200
commit810835b36cc1f3d50e7090f8b85ce845f9d6a37c (patch)
tree159ead168052d58ef6eb1a6c917504a535174417 /hosts/surtr
parentfd23ce7673ff3d6115f3e009ebe48b80ffd111e4 (diff)
downloadnixos-810835b36cc1f3d50e7090f8b85ce845f9d6a37c.tar
nixos-810835b36cc1f3d50e7090f8b85ce845f9d6a37c.tar.gz
nixos-810835b36cc1f3d50e7090f8b85ce845f9d6a37c.tar.bz2
nixos-810835b36cc1f3d50e7090f8b85ce845f9d6a37c.tar.xz
nixos-810835b36cc1f3d50e7090f8b85ce845f9d6a37c.zip
acme@surtr: ...
Diffstat (limited to 'hosts/surtr')
-rw-r--r--hosts/surtr/tls.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/hosts/surtr/tls.nix b/hosts/surtr/tls.nix
index c4ca09b1..b84ee6d6 100644
--- a/hosts/surtr/tls.nix
+++ b/hosts/surtr/tls.nix
@@ -16,12 +16,12 @@ let
16 16
17 owner=''${fqdn%".${zone}."} 17 owner=''${fqdn%".${zone}."}
18 18
19 function cleanup() { 19 function abort() {
20 ${knotCfg.cliWrappers}/bin/knotc zone-abort "${zone}" 20 ${knotCfg.cliWrappers}/bin/knotc zone-abort "${zone}"
21 } 21 }
22 trap cleanup EXIT
23 22
24 ${knotCfg.cliWrappers}/bin/knotc zone-begin "${zone}" 23 ${knotCfg.cliWrappers}/bin/knotc zone-begin "${zone}"
24 trap abort EXIT
25 25
26 case "''${mode}" in 26 case "''${mode}" in
27 present) 27 present)
@@ -58,6 +58,7 @@ in {
58 extraDomainNames = [ "*.rheperire.org" ]; 58 extraDomainNames = [ "*.rheperire.org" ];
59 dnsProvider = "exec"; 59 dnsProvider = "exec";
60 credentialsFile = knotDNSCredentials "rheperire.org"; 60 credentialsFile = knotDNSCredentials "rheperire.org";
61 dnsResolver = "1.1.1.1:53";
61 }; 62 };
62 }; 63 };
63 }; 64 };