forked from UniverseBow/flake
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 = {
|
nixConfig = {
|
||||||
extra-experimental-features = "pipe-operators";
|
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:
|
outputs = {cerulean, ...} @ inputs:
|
||||||
|
|
|
||||||
|
|
@ -7,15 +7,15 @@
|
||||||
inputs.nixos-hardware.nixosModules.apple-t2
|
inputs.nixos-hardware.nixosModules.apple-t2
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
nix.settings = {
|
||||||
# t2-firmware dependencies
|
trusted-substituters = [
|
||||||
# REF: https://github.com/t2linux/nixos-t2-iso
|
"https://t2linux.cachix.org"
|
||||||
python3
|
];
|
||||||
dmg2img
|
trusted-public-keys = [
|
||||||
# get-apple-firmware
|
"t2linux.cachix.org-1:P733c5Gt1qTcxsm+Bae0renWnT8OLs0u9+yfaK2Bejw="
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
hardware = {
|
|
||||||
apple.touchBar.enable = true;
|
apple.touchBar.enable = true;
|
||||||
|
|
||||||
# REF: https://github.com/NixOS/nixos-hardware/blob/master/apple/t2/default.nix
|
# REF: https://github.com/NixOS/nixos-hardware/blob/master/apple/t2/default.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue