10 lines
269 B
Nix
10 lines
269 B
Nix
{ pkgs, lib, ... }: {
|
|
boot.binfmt = {
|
|
emulatedSystems = [ "aarch64-linux" ];
|
|
registrations.aarch64-linux = {
|
|
interpreter = lib.mkForce "${pkgs.qemu}/bin/qemu-aarch64";
|
|
};
|
|
};
|
|
nix.settings.extra-sandbox-paths = [ "/run/binfmt" "${pkgs.qemu}" ];
|
|
}
|