nameservers: Specify ports

This commit is contained in:
SebastianStork 2026-03-02 16:54:07 +01:00
parent 7fcbc3dcad
commit 2aba83de58
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
3 changed files with 23 additions and 10 deletions

View file

@ -64,7 +64,10 @@ in
allHosts
|> lib.attrValues
|> lib.filter (host: host.config.custom.services.private-nameserver.enable)
|> lib.map (host: host.config.custom.networking.overlay.address);
|> lib.map (
host:
"${host.config.custom.networking.overlay.address}:${toString host.config.custom.services.private-nameserver.port}"
);
};
implementation = lib.mkOption {