From 0e984e9969c1a543b3edaeff4c5f4350b08313d8 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Tue, 14 Mar 2023 19:15:07 +0100 Subject: [PATCH] Add cross compile support --- systems/x86_64-linux/kami/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systems/x86_64-linux/kami/default.nix b/systems/x86_64-linux/kami/default.nix index 35e4147..3e634d9 100644 --- a/systems/x86_64-linux/kami/default.nix +++ b/systems/x86_64-linux/kami/default.nix @@ -15,6 +15,8 @@ boot.supportedFilesystems = [ "ntfs" "btrfs" "zfs" ]; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; networking.networkmanager.enable = true;