networking: fix wireguard dns

This commit is contained in:
Rouven Seifert 2024-01-04 00:10:15 +01:00
parent 218c12ecee
commit fcdc32c2f0
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -21,8 +21,8 @@
whois whois
inetutils inetutils
openssl openssl
wget
dnsutils dnsutils
nmap
]; ];
services.resolved = { services.resolved = {
fallbackDns = [ fallbackDns = [
@ -40,9 +40,6 @@
hostName = "thinkpad"; hostName = "thinkpad";
hostId = "d8d34032"; hostId = "d8d34032";
enableIPv6 = true; enableIPv6 = true;
firewall = {
logRefusedConnections = false;
};
wireless = { wireless = {
enable = true; enable = true;
userControlled.enable = true; userControlled.enable = true;
@ -163,7 +160,7 @@
linkConfig.RequiredForOnline = "carrier"; linkConfig.RequiredForOnline = "carrier";
networkConfig = { networkConfig = {
Address = "192.168.43.3/32"; Address = "192.168.43.3/32";
DNS = "192.168.42.1"; DNS = "192.168.43.1";
DNSSEC = true; DNSSEC = true;
BindCarrier = [ "wlp9s0" "enp0s31f6" ]; BindCarrier = [ "wlp9s0" "enp0s31f6" ];
}; };