Skip to content

Commit 25584d5

Browse files
committed
feat(machines): enable cross-compilation on pc
1 parent 85f66bd commit 25584d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

machines/pc/configuration.nix

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
options = ["compress=zstd" "noatime"];
4343
};
4444

45+
# aarch64 cross-compilation
46+
boot.binfmt.emulatedSystems = ["aarch64-linux"];
47+
4548
# Use the systemd-boot EFI boot loader.
4649
boot.loader.systemd-boot.enable = true;
4750
boot.loader.efi.canTouchEfiVariables = false;

0 commit comments

Comments
 (0)