mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-05 00:05:04 +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
|
|
}
|