Rename FredOS-Macbook to FredOS-Macbook.nix

This commit is contained in:
ediblerope 2025-12-02 22:49:58 +00:00 committed by GitHub
parent efdb6e060a
commit 53480da14c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

33
hosts/FredOS-Macbook.nix Normal file
View file

@ -0,0 +1,33 @@
# hosts/FredOS-Macbook.nix
{ config, pkgs, lib, ... }:
{
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"
];
};
}