summaryrefslogtreecommitdiff
path: root/hosts/ahmed/local-dns/dns-resolver.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2025-03-25 12:50:29 +0100
committerLinnnus <[email protected]>2025-03-25 12:50:29 +0100
commite26a65beca905cf44e1b02633f67d213ae3a84b6 (patch)
tree093874542e1a473ca2fc90f01e1a97e30044ed9c /hosts/ahmed/local-dns/dns-resolver.nix
parent65941bf84c62a02a97c68e5f67851f355309c1e2 (diff)
Refactor metadata.toml
Diffstat (limited to 'hosts/ahmed/local-dns/dns-resolver.nix')
-rw-r--r--hosts/ahmed/local-dns/dns-resolver.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/ahmed/local-dns/dns-resolver.nix b/hosts/ahmed/local-dns/dns-resolver.nix
index 1954a52..7d966ee 100644
--- a/hosts/ahmed/local-dns/dns-resolver.nix
+++ b/hosts/ahmed/local-dns/dns-resolver.nix
@@ -32,7 +32,7 @@
# Here we publish all the services we want.
data = let
- subdomainToARecord = subdomain: "=${subdomain}.${config.linus.local-dns.domain}:${metadata.hosts.ahmed.ipAddress}";
+ subdomainToARecord = subdomain: "=${subdomain}.${config.linus.local-dns.domain}:${metadata.hosts.ahmed.ipv4Address}";
ARecords = lib.concatMapStringsSep "\n" subdomainToARecord config.linus.local-dns.subdomains;
in ''
# We are authoritative over ${config.linus.local-dns.domain}.