change wireguard config to include DNS

This commit is contained in:
2026-05-13 11:11:43 +02:00
parent db8c11c83a
commit 07531e3691
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -64,7 +64,7 @@
# 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.networkmanager.insertNameservers = [ "192.168.178.108" ];
# networking.interfaces.enp4s0f3u1u4u1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;