summaryrefslogtreecommitdiffstats
path: root/tv/3modules/dnsmasq.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-06-07 13:10:52 +0200
committerlassulus <lassulus@lassul.us>2020-06-07 13:10:52 +0200
commit15f39ef2e925858eb787c6a52ccb896928b28b47 (patch)
tree2ac18efb3fe36040c71753f578529470cdb884c5 /tv/3modules/dnsmasq.nix
parentfe119203ea4d2dc3e618d113c7f70629fd750aa3 (diff)
parent8ae780cf2689a0e62718fe0dcc8b80e584f68d23 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/3modules/dnsmasq.nix')
-rw-r--r--tv/3modules/dnsmasq.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/tv/3modules/dnsmasq.nix b/tv/3modules/dnsmasq.nix
index ec927f98a..ab24ac089 100644
--- a/tv/3modules/dnsmasq.nix
+++ b/tv/3modules/dnsmasq.nix
@@ -31,8 +31,9 @@ in {
};
services.dnsmasq.enable = true;
services.dnsmasq.extraConfig = ''
+ bind-interfaces
dhcp-range=${cfg.dhcp-range}
- interface=${cfg.interface}
+ listen-address=${cfg.address}
'';
tv.iptables.extra.filter.INPUT = [
"-i ${cfg.interface} -p tcp -m tcp --dport bootps -j ACCEPT"