From e26a65beca905cf44e1b02633f67d213ae3a84b6 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Tue, 25 Mar 2025 12:50:29 +0100 Subject: Refactor metadata.toml --- hosts/ahmed/local-dns/dns-resolver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/ahmed/local-dns') 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}. -- cgit v1.2.3