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 ];