From b4d8239727428d6de4b94654deb89f1fabb87ee7 Mon Sep 17 00:00:00 2001 From: tinger Date: Tue, 22 Sep 2026 08:33:32 +0200 Subject: [PATCH] common: networking: Set wireless regulatory domain --- common/networking.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/networking.nix b/common/networking.nix index 5a859e9..d657014 100644 --- a/common/networking.nix +++ b/common/networking.nix @@ -10,6 +10,13 @@ # Allow managing networks without superuser privileges. users.users.tinger.extraGroups = [ "networkmanager" ]; + # Apparently if this "wireless regulatory domain" is not set, it defaults to + # `00` (the world domain). Which then causes 6 GHz roaming to fail, dropping + # the wifi connection periodically. + boot.extraModprobeConfig = '' + options cfg80211 ieee80211_regdom=DE + ''; + environment.systemPackages = with pkgs; [ networkmanagerapplet # Session secret agent for network manager ]; -- 2.51.2