nixos/configuration-template.nix

33 lines
718 B
Nix
Raw Normal View History

2025-12-04 17:56:33 +00:00
# hosts/FredOS-Macbook.nix
2025-12-02 22:58:56 +00:00
{ config, pkgs, lib, ... }:
2025-12-02 20:35:16 +00:00
{
2025-12-04 17:56:33 +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;
2025-12-04 13:06:36 +00:00
2025-12-04 17:56:33 +00:00
nixpkgs.config.permittedInsecurePackages = [
"broadcom-sta-6.30.223.271-59-6.18" # Updated version number
];
};
2025-05-08 19:23:55 +01:00
}