Files
nix-config/systems/aarch64-linux/macbook-pro-nixos/boot.nix
mjallen18 334d69894e stuff
2026-02-06 09:25:05 -06:00

34 lines
666 B
Nix

{ lib, ... }:
{
# Use the systemd-boot EFI boot loader.
boot = {
loader = {
systemd-boot = {
enable = lib.mkForce true;
configurationLimit = 15;
consoleMode = lib.mkDefault "max";
};
efi.canTouchEfiVariables = lib.mkForce false;
};
kernelParams = [
"apple_dcp.show_notch=1"
"melt_my_mac=1" # enable fan control
];
extraModprobeConfig = ''
options hid_apple iso_layout=0
'';
m1n1CustomLogo = ./NixOS.png;
initrd = {
kernelModules = {
bcachefs = lib.mkForce false;
};
};
supportedFilesystems = {
apfs = lib.mkForce true;
};
};
}