diff options
| author | Łukasz Niemier <lukasz@niemier.pl> | 2021-01-28 13:59:11 +0100 |
|---|---|---|
| committer | Łukasz Niemier <lukasz@niemier.pl> | 2021-01-28 14:09:30 +0100 |
| commit | bd75d14b0f1dfd244dadd0ffb1992d9af804dc71 (patch) | |
| tree | b6e06b82a107ccbe4630a4e54dd6187f029b9786 /modules/services | |
| parent | 8834df431736c3037bbef017b24c62bc4ace4645 (diff) | |
fix: use separate config option to set port of DNSmasq
Older approach seems to not work on macOS 11 Big Sur for some reason.
Diffstat (limited to 'modules/services')
| -rw-r--r-- | modules/services/dnsmasq.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/services/dnsmasq.nix b/modules/services/dnsmasq.nix index 9a8cf11..99486f1 100644 --- a/modules/services/dnsmasq.nix +++ b/modules/services/dnsmasq.nix @@ -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)); }; |
