flake/hosts/modules/core/t2-firmware.nix

34 lines
646 B
Nix

{
inputs,
pkgs,
...
}: {
imports = [
inputs.nixos-hardware.nixosModules.apple-t2
];
nix.settings = {
trusted-substituters = [
"https://t2linux.cachix.org"
];
trusted-public-keys = [
"t2linux.cachix.org-1:P733c5Gt1qTcxsm+Bae0renWnT8OLs0u9+yfaK2Bejw="
];
};
apple.touchBar.enable = true;
# REF: https://github.com/NixOS/nixos-hardware/blob/master/apple/t2/default.nix
apple-t2 = {
# the macbook does not have an AMD dGPU (iGPU)
enableIGPU = false;
kernelChannel = "stable";
firmware = {
enable = true;
version = "sonoma";
};
};
};
}