Create FredOS-Macbook
This commit is contained in:
parent
405e6434ba
commit
2be39a286e
1 changed files with 35 additions and 0 deletions
35
hosts/FredOS-Macbook
Normal file
35
hosts/FredOS-Macbook
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue