fix: use separate config option to set port of DNSmasq
Older approach seems to not work on macOS 11 Big Sur for some reason.
This commit is contained in:
parent
8834df4317
commit
bd75d14b0f
2 changed files with 6 additions and 2 deletions
|
|
@ -63,7 +63,10 @@ in
|
|||
name = "resolver/${domain}";
|
||||
value = {
|
||||
enable = true;
|
||||
text = "nameserver ${cfg.bind}.${toString cfg.port}";
|
||||
text = ''
|
||||
port ${toString cfg.port}
|
||||
nameserver ${cfg.bind}
|
||||
'';
|
||||
};
|
||||
}) (builtins.attrNames cfg.addresses));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue