2022-12-06 20:40:19 +03:00
|
|
|
{ pkgs, modulesPath, nixos-hardware, ... }:
|
2022-10-02 17:56:05 +03:00
|
|
|
|
|
|
|
|
{
|
2022-12-06 20:40:19 +03:00
|
|
|
imports = [
|
|
|
|
|
"${modulesPath}/installer/cd-dvd/channel.nix"
|
|
|
|
|
nixos-hardware.nixosModules.apple-t2
|
|
|
|
|
];
|
|
|
|
|
|
2022-10-04 20:30:05 +03:00
|
|
|
nix.settings = {
|
|
|
|
|
trusted-substituters = [
|
2022-10-02 17:56:05 +03:00
|
|
|
"https://t2linux.cachix.org"
|
|
|
|
|
];
|
2022-10-04 20:30:05 +03:00
|
|
|
trusted-public-keys = [
|
2022-10-02 17:56:05 +03:00
|
|
|
"t2linux.cachix.org-1:P733c5Gt1qTcxsm+Bae0renWnT8OLs0u9+yfaK2Bejw="
|
|
|
|
|
];
|
2024-04-25 02:29:35 +02:00
|
|
|
|
|
|
|
|
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
2022-10-02 17:56:05 +03:00
|
|
|
};
|
2022-10-02 19:12:31 +03:00
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
git
|
2022-10-14 22:17:09 +03:00
|
|
|
python3
|
2024-06-09 22:27:44 +08:00
|
|
|
dmg2img
|
2022-10-02 19:12:31 +03:00
|
|
|
];
|
2022-11-04 18:09:31 +03:00
|
|
|
|
|
|
|
|
# ZFS is (sometimes) broken and prevents building without this
|
|
|
|
|
nixpkgs.config.allowBroken = true;
|
2022-10-02 17:56:05 +03:00
|
|
|
}
|