add t2 firmware substitutor
This commit is contained in:
parent
69eb9a1a93
commit
b9992fa47e
2 changed files with 11 additions and 8 deletions
|
|
@ -71,6 +71,9 @@
|
|||
|
||||
nixConfig = {
|
||||
extra-experimental-features = "pipe-operators";
|
||||
extra-trusted-substituters = ["https://cache.soopy.moe"];
|
||||
extra-substituters = ["https://cache.soopy.moe"];
|
||||
extra-trusted-public-keys = ["cache.soopy.moe-1:0RZVsQeR+GOh0VQI9rvnHz55nVXkFardDqfm4+afjPo="];
|
||||
};
|
||||
|
||||
outputs = {cerulean, ...} @ inputs:
|
||||
|
|
|
|||
|
|
@ -7,15 +7,15 @@
|
|||
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
|
||||
];
|
||||
nix.settings = {
|
||||
trusted-substituters = [
|
||||
"https://t2linux.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"t2linux.cachix.org-1:P733c5Gt1qTcxsm+Bae0renWnT8OLs0u9+yfaK2Bejw="
|
||||
];
|
||||
};
|
||||
|
||||
hardware = {
|
||||
apple.touchBar.enable = true;
|
||||
|
||||
# REF: https://github.com/NixOS/nixos-hardware/blob/master/apple/t2/default.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue