feat: enable binfmt emulation of aarch64-linux for nixos-test

This commit is contained in:
ryan4yin
2023-06-02 13:14:17 +08:00
parent e6b57d9d11
commit 1a474ec960
2 changed files with 14 additions and 2 deletions

View File

@@ -107,5 +107,3 @@
system.stateVersion = "22.11"; # Did you read the comment?
}

View File

@@ -23,6 +23,20 @@
nixpkgs.overlays = import ../../overlays args;
# Enable binfmt emulation of aarch64-linux, this is required for cross compilation.
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
# supported fil systems, so we can mount any removable disks with these filesystems
boot.supportedFilesystems = [
"ext4"
"btrfs"
"xfs"
#"zfs"
"ntfs"
"fat" "vfat" "exfat"
"cifs" # mount windows share
];
# Bootloader.
boot.loader = {
grub = {