1
0
Fork 0
forked from UniverseBow/flake
flake-ooni/hosts/modules/core/t2-firmware.nix

35 lines
646 B
Nix
Raw Normal View History

2026-03-26 16:28:53 +10:00
{
inputs,
pkgs,
...
}: {
imports = [
inputs.nixos-hardware.nixosModules.apple-t2
];
2026-03-27 13:05:49 +10:00
nix.settings = {
trusted-substituters = [
"https://t2linux.cachix.org"
];
trusted-public-keys = [
"t2linux.cachix.org-1:P733c5Gt1qTcxsm+Bae0renWnT8OLs0u9+yfaK2Bejw="
];
};
2026-03-27 12:15:00 +10:00
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";
};
};
};
2026-03-26 16:28:53 +10:00
}