nixos/hosts/FredOS-Macbook.nix

37 lines
840 B
Nix
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-04 13:23:31 +00:00
imports = lib.mkIf (config.networking.hostName == "FredOS-Macbook") [
../settings/gnome.nix
];
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
2025-12-04 13:23:31 +00:00
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
2025-12-02 22:40:06 +00:00
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
}