From 0ef467aa208572b501fb5a530a2c75667708c3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 9 Aug 2025 13:15:35 +0200 Subject: [PATCH] installer: better wireless support --- nix/configurations/installer.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nix/configurations/installer.nix b/nix/configurations/installer.nix index 98ed6f96..d478b631 100644 --- a/nix/configurations/installer.nix +++ b/nix/configurations/installer.nix @@ -6,6 +6,7 @@ # { pkgs, + lib, modulesPath, ... }: { @@ -50,4 +51,18 @@ programs.tmux.enable = true; users.users.nixos.shell = pkgs.fish; programs.fish.enable = true; + + networking = { + networkmanager.enable = lib.mkForce false; + wireless = { + enable = true; + userControlled.enable = true; + }; + }; + # Wireless Regulatory Domain + # https://community.frame.work/t/framework-nixos-linux-users-self-help/31426/77 + hardware.wirelessRegulatoryDatabase = true; + boot.extraModprobeConfig = '' + options cfg80211 ieee80211_regdom="US" + ''; }