From be3bcf4526f647c9f6fba76bcac51938d7ca357b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2022 15:24:27 +0200 Subject: nixos/compile: add support for binfmt armv7 and aarch64 --- nixos/modules/compile.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos/modules/compile.nix') diff --git a/nixos/modules/compile.nix b/nixos/modules/compile.nix index a1709e6..7988699 100644 --- a/nixos/modules/compile.nix +++ b/nixos/modules/compile.nix @@ -13,6 +13,11 @@ with lib; }; config = mkIf config.cynerd.compile { + nix.extraOptions = '' + max-jobs = 32 + cores = 0 + ''; + boot.binfmt.emulatedSystems = [ "armv7l-linux" "aarch64-linux" ]; environment.systemPackages = with pkgs; [ # Tools -- cgit v1.2.3