feat: shoukei - add x64 support via binfmt

This commit is contained in:
Ryan Yin
2025-07-26 09:34:08 +08:00
parent 4bb92855e7
commit 18cabc994c
2 changed files with 9 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ in
# depending on how you configured your disk mounts, change this to /boot or /boot/efi.
boot.loader.efi.efiSysMountPoint = "/boot";
# Enable binfmt emulation of aarch64-linux, this is required for cross compilation.
boot.binfmt.emulatedSystems = ["x86_64-linux" "riscv64-linux"];
# supported file systems, so we can mount any removable disks with these filesystems
boot.supportedFilesystems = lib.mkForce [
"ext4"