forked from UniverseBow/flake
add t2-firmware support
This commit is contained in:
parent
1b7b1e66f0
commit
468f399965
8 changed files with 75 additions and 6 deletions
17
hosts/modules/core/t2-firmware.nix
Normal file
17
hosts/modules/core/t2-firmware.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue