mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
nameservers: Specify ports
This commit is contained in:
parent
7fcbc3dcad
commit
2aba83de58
3 changed files with 23 additions and 10 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue