mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
networking: fix wireguard dns
This commit is contained in:
parent
218c12ecee
commit
fcdc32c2f0
|
@ -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" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue