add option to prefer internal dns server

This commit is contained in:
2026-04-05 19:28:07 +02:00
parent e0e857c533
commit 815fefbb78
+2
View File
@@ -62,6 +62,8 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# make custom dns work while gracefully falling back on public servers
networking.networkmanager.insertNameservers = [ "192.168.178.108" ];
# networking.interfaces.enp4s0f3u1u4u1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;