Update FredOS-Macbook.nix

This commit is contained in:
ediblerope 2025-12-04 13:32:37 +00:00 committed by GitHub
parent c8f3bd9bc9
commit 0923d15e26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,36 +1,32 @@
# hosts/FredOS-Macbook.nix
{ config, pkgs, lib, ... }:
{
imports = lib.optionals (config.networking.hostName == "FredOS-Macbook") [
../settings/gnome.nix
config = lib.mkIf (config.networking.hostName == "FredOS-Macbook") {
environment.systemPackages = with pkgs; [
# Package names here
];
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 = [ config.boot.kernelPackages.broadcom_sta ];
blacklistedKernelModules = [
"b43"
"bcma"
"ssb"
];
# Bootloader
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
hardware.enableRedistributableFirmware = true;
# Enable Broadcom WL for Macbook
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
nixpkgs.config.permittedInsecurePackages = [
"broadcom-sta-6.30.223.271-59-6.17.9"
blacklistedKernelModules = [
"b43"
"bcma"
"ssb"
];
};
hardware.enableRedistributableFirmware = true;
nixpkgs.config.permittedInsecurePackages = [
"broadcom-sta-6.30.223.271-59-6.17.9"
];
};
}