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