Create FredOS-Macbook

This commit is contained in:
ediblerope 2025-12-02 21:23:06 +00:00 committed by GitHub
parent 405e6434ba
commit 2be39a286e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

35
hosts/FredOS-Macbook Normal file
View file

@ -0,0 +1,35 @@
{ config, pkgs, lib, ... }:
{
config = lib.mkIf (config.networking.hostName == "FredOS-Macbook") {
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
#Package name
];
# Bootloader
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
# Enable Broadcom WL for Macbook
hardware.enableRedistributableFirmware = true;
boot.extraModulePackages = [
config.boot.kernelPackages.broadcom_sta
];
boot.blacklistedKernelModules = [
"b43"
"bcma"
"ssb"
];
nixpkgs.config.permittedInsecurePackages = [
"broadcom-sta-6.30.223.271-59-6.17.9"
];
};
}