From 1272765bb3b00cfdcec65ec35a5da491843914d0 Mon Sep 17 00:00:00 2001 From: genofire Date: Wed, 27 Oct 2021 11:54:17 +0200 Subject: [PATCH] nixos: fix dnssec for ipv6only networks --- nixos/desktop.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/nixos/desktop.nix b/nixos/desktop.nix index 260d496..fab1a46 100644 --- a/nixos/desktop.nix +++ b/nixos/desktop.nix @@ -19,13 +19,27 @@ }; systemd.network.networks.wifi = { - matchConfig.Name = "wlan0"; + matchConfig = { + Name = "wlan0"; + SSID = "!HotoHo-v6"; + }; DHCP = "ipv4"; networkConfig = { IPv6AcceptRA = 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 = { matchConfig.Name = "enp*"; DHCP = "ipv4";