diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-22 10:51:16 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-22 10:51:16 +0100 |
commit | 0ff6e9fc144b14f92e1640cbf61bf4d8fc8fbb94 (patch) | |
tree | e3504c96d116c0fabf4ca0802fb194223cd509e6 | |
parent | 4017f0cab7113c6b123d74519abf35510eaa164d (diff) | |
download | nixos-0ff6e9fc144b14f92e1640cbf61bf4d8fc8fbb94.tar nixos-0ff6e9fc144b14f92e1640cbf61bf4d8fc8fbb94.tar.gz nixos-0ff6e9fc144b14f92e1640cbf61bf4d8fc8fbb94.tar.bz2 nixos-0ff6e9fc144b14f92e1640cbf61bf4d8fc8fbb94.tar.xz nixos-0ff6e9fc144b14f92e1640cbf61bf4d8fc8fbb94.zip |
...
-rw-r--r-- | hosts/surtr/dns/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix index 8430212c..2949210c 100644 --- a/hosts/surtr/dns/default.nix +++ b/hosts/surtr/dns/default.nix | |||
@@ -4,7 +4,7 @@ with lib; | |||
4 | 4 | ||
5 | let | 5 | let |
6 | acmeChallengeZonefile = domain: let | 6 | acmeChallengeZonefile = domain: let |
7 | reverseDomain = concatStringsSep "." (reverseList ("_acme-challenge" ++ splitString "." domain)); | 7 | reverseDomain = concatStringsSep "." (reverseList (["_acme-challenge"] ++ splitString "." domain)); |
8 | in pkgs.writeText "${reverseDomain}.zone" '' | 8 | in pkgs.writeText "${reverseDomain}.zone" '' |
9 | $ORIGIN ${domain}. | 9 | $ORIGIN ${domain}. |
10 | @ 3600 IN SOA _acme-challenge.${domain}. root.yggdrasil.li. 2022022102 7200 3600 86400 300 | 10 | @ 3600 IN SOA _acme-challenge.${domain}. root.yggdrasil.li. 2022022102 7200 3600 86400 300 |