nixos/hosts/FredOS-Macbook

34 lines
751 B
Text
Raw Normal View History

2025-12-02 22:40:06 +00:00
# hosts/FredOS-Macbook.nix
2025-12-02 21:23:06 +00:00
{ config, pkgs, lib, ... }:
{
2025-12-02 22:40:06 +00:00
config = lib.mkIf (config.networking.hostName == "FredOS-Macbook") {
environment.systemPackages = with pkgs; [
# Package names here
];
# Bootloader
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
# Enable Broadcom WL for Macbook
extraModulePackages = [ pkgs.linuxPackages.broadcom_sta ]; # Use pkgs, not config
blacklistedKernelModules = [
"b43"
"bcma"
"ssb"
];
};
hardware.enableRedistributableFirmware = true;
nixpkgs.config.permittedInsecurePackages = [
"broadcom-sta-6.30.223.271-59-6.17.9"
];
};
2025-12-02 21:23:06 +00:00
}