1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

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