mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +01:00
10 lines
261 B
Nix
10 lines
261 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
# Required to build an aarch64 installation ISO on x86.
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
|
|
# To check if binfmt is enabled:
|
|
# ls /proc/sys/fs/binfmt_misc/
|
|
# cat /proc/sys/fs/binfmt_misc/aarch64-linux
|
|
}
|