fix wifi?

This commit is contained in:
Elias Gasparis 2025-11-19 08:34:27 +08:00
commit f5138fb235
8 changed files with 140 additions and 15 deletions

View file

@ -11,7 +11,16 @@
boot.initrd.availableKernelModules = [ "ohci_pci" "ehci_pci" "ahci" "firewire_ohci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" "wl" ];
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
# change kernel
#boot.kernelPackages = pkgs.linuxPackages_6_1;
# Configure the Broadcom driver
boot.extraModulePackages = [ "config.boot.kernelPackages.broadcom_sta" ];
nixpkgs.config.allowInsecurePredicate = pkg: builtins.elem (lib.getName pkg) [
"broadcom-sta" # aka “wl”
];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/641ef8a2-88ac-4edf-90f5-74812e8ccf9f";