play/nix/aarch64_be.nix

17 lines
494 B
Nix
Raw Permalink Normal View History

2024-05-23 04:50:19 +00:00
let
flake = builtins.getFlake (toString ./..);
nixpkgs = flake.inputs.nixpkgs;
lib = nixpkgs.lib;
system = lib.nixosSystem {
modules = [
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64-new-kernel-no-zfs-installer.nix"
{
nixpkgs.hostPlatform.config = "aarch64_be-unknown-linux-gnu";
nixpkgs.buildPlatform.system = "x86_64-linux";
nixpkgs.config.allowUnsupportedSystem = true;
}
];
};
2024-07-07 21:13:56 +00:00
in
system.config.system.build.sdImage