refactor(zackbiene): use new dnsmasq.settings interface

This commit is contained in:
oddlama 2023-03-25 16:00:51 +01:00
parent 2421e2b817
commit 6c5d117c1e
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -2,18 +2,20 @@
services.dnsmasq = { services.dnsmasq = {
enable = true; enable = true;
resolveLocalQueries = false; resolveLocalQueries = false;
extraConfig = '' settings = {
interface=wlan1 interface = "wlan1";
dhcp-authoritative = true;
dhcp-range = [
"10.0.90.10,10.0.90.240,24h"
"fd90::10,fd90::ff0,24h"
];
dhcp-authoritative # Enable ipv6 router advertisements
dhcp-range=10.0.90.10,10.0.90.240,24h enable-ra = true;
dhcp-range=fd90::10,fd90::ff0,24h # Don't use anything from /etc/resolv.conf
no-resolv = true;
enable-ra
# Never forward addresses in the non-routed address spaces. # Never forward addresses in the non-routed address spaces.
bogus-priv bogus-priv = true;
};
no-resolv
'';
}; };
} }