From 2ec0602006736d9f7f9480bd0a1a08c9e08bf816 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 4 Mar 2024 16:04:50 +0100 Subject: [PATCH] talos: set Wi-Fi regulatory domain --- hosts/talos/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/talos/default.nix b/hosts/talos/default.nix index 59f84dd..7377884 100644 --- a/hosts/talos/default.nix +++ b/hosts/talos/default.nix @@ -19,6 +19,9 @@ hardware.amdgpu.opencl = false; boot.kernelPackages = pkgs.linuxPackages_6_7; + # Set Wi-Fi regulatory domain. Currently always set to '00' (world), and could + # lead to bad Wi-Fi performance + boot.kernelParams = ["cfg80211.ieee80211_regdom=FR"]; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot = {