mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-11 15:12:40 +02:00
feat: enable binfmt emulation of aarch64-linux for nixos-test
This commit is contained in:
@@ -107,5 +107,3 @@
|
|||||||
system.stateVersion = "22.11"; # Did you read the comment?
|
system.stateVersion = "22.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,20 @@
|
|||||||
|
|
||||||
nixpkgs.overlays = import ../../overlays args;
|
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.
|
# Bootloader.
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
grub = {
|
grub = {
|
||||||
|
|||||||
Reference in New Issue
Block a user