From 9bf6f6c3193761988676d4e6f05313e558849eee Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 1 Dec 2021 09:15:27 -0800 Subject: [PATCH] Make system3 able to cross-compile --- config/host-config/system3.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/host-config/system3.nix b/config/host-config/system3.nix index 5230c8e..f85d928 100644 --- a/config/host-config/system3.nix +++ b/config/host-config/system3.nix @@ -6,6 +6,14 @@ in { environment.systemPackages = with pkgs; [ opencv-java ]; + boot.binfmt.emulatedSystems = [ + "aarch64-linux" + "aarch64-darwin" + "i686-linux" + "x86_64-darwin" + "x86_64-linux" + ]; + networking = { interfaces = { intif0 = { useDHCP = true; }; }; }; systemd.tmpfiles.rules = [