s/dnsmasq/bind/

This commit is contained in:
Greg Hellings
2023-05-05 16:37:31 -05:00
parent 7e642c7dfe
commit b70f6179db
+5 -12
View File
@@ -26,8 +26,7 @@ in
networking = { networking = {
hostName = "mm"; hostName = "mm";
domain = "mindmazeroom.lan"; domain = "mindmazeroom.lan";
nameservers = [ "127.0.0.1" ]; nameservers = [ lanIpAddress ];
networkmanager.enable = true;
interfaces = { interfaces = {
"${wanInterface}".useDHCP = true; "${wanInterface}".useDHCP = true;
"${lanInterface}" = { "${lanInterface}" = {
@@ -51,16 +50,10 @@ in
lan = [ lanInterface ]; lan = [ lanInterface ];
}; };
services = { services = {
dnsmasq = { bind = {
enable = true; enable = false;
settings = { cacheNetworks = [ "127.0.0.1/24" "${lanIpAddress}/24" ];
expand-hosts = true; listenOn = [ lanInterface ];
log-queries = true;
server = [
"1.1.1.1"
"8.8.4.4"
];
};
}; };
create_ap = { create_ap = {
enable = false; enable = false;