mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
installer: better wireless support
This commit is contained in:
parent
1fac35db23
commit
0ef467aa20
1 changed files with 15 additions and 0 deletions
|
|
@ -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"
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue