nixos: fix dnssec for ipv6only networks

This commit is contained in:
genofire 2021-10-27 11:54:17 +02:00
parent 0724d0d2f9
commit 1272765bb3
1 changed files with 15 additions and 1 deletions

View File

@ -19,13 +19,27 @@
}; };
systemd.network.networks.wifi = { systemd.network.networks.wifi = {
matchConfig.Name = "wlan0"; matchConfig = {
Name = "wlan0";
SSID = "!HotoHo-v6";
};
DHCP = "ipv4"; DHCP = "ipv4";
networkConfig = { networkConfig = {
IPv6AcceptRA = true; IPv6AcceptRA = true;
IPv6PrivacyExtensions = true; IPv6PrivacyExtensions = true;
}; };
}; };
systemd.network.networks.wifi-v6 = {
matchConfig = {
Name = "wlan0";
SSID = "HotoHo-v6";
};
networkConfig = {
DNSSEC = false;
IPv6AcceptRA = true;
IPv6PrivacyExtensions = true;
};
};
systemd.network.networks.eth = { systemd.network.networks.eth = {
matchConfig.Name = "enp*"; matchConfig.Name = "enp*";
DHCP = "ipv4"; DHCP = "ipv4";