mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
add emulation
This commit is contained in:
parent
d6b453fbbe
commit
dc5241264e
9
modules/emulation.nix
Normal file
9
modules/emulation.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user