{ inputs, pkgs, ... }: { imports = [ inputs.nixos-hardware.nixosModules.apple-t2 ]; environment.systemPackages = with pkgs; [ # t2-firmware dependencies # REF: https://github.com/t2linux/nixos-t2-iso python3 dmg2img # get-apple-firmware ]; hardware = { 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"; }; }; }; }