chore: use the brcmfmac firmware package

Changed files
+9 -3
systems
+4 -2
flake.nix
···
};
packages.x86_64-linux = let
-
pkgs = nixpkgs.legacyPackages.x86_64-linux;
+
system = "x86_64-linux";
in {
-
brcmfmac = pkgs.callPackage ./vendor/brcmfmac {};
+
brcmfmac = let
+
pkgs = import nixpkgs {inherit system; config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["brcm-mac-firmware"];};
+
in pkgs.callPackage ./vendor/brcmfmac {};
};
nixosConfigurations = {
+5 -1
systems/satori/configuration.nix
···
-
{inputs, ...}: {
+
{inputs, pkgs, ...}: {
imports = [
./hardware-configuration.nix
···
# TODO: move this to a trait
nix.settings.trusted-users = [
"@wheel"
+
];
+
+
hardware.firmware = [
+
inputs.self.packages.${pkgs.system}.brcmfmac
];
networking.hostName = "satori";