nixfiles/profiles/cross/arm64.nix

10 lines
253 B
Nix
Raw Normal View History

{ pkgs, lib, ... }: {
boot.binfmt = {
emulatedSystems = [ "aarch64-linux" ];
registrations.aarch64-linux = {
interpreter = lib.mkForce "${pkgs.qemu}/bin/qemu-aarch64";
};
};
2022-01-24 16:50:53 +00:00
nix.sandboxPaths = [ "/run/binfmt" "${pkgs.qemu}" ];
}