TODO: disable binfmt stuff

This commit is contained in:
Colin 2023-03-11 13:23:44 +00:00
parent e386406bc1
commit 39eb1e3d07

View File

@ -35,7 +35,9 @@ in
sane.services.nixserve.enable = true;
# enable cross compilation
# TODO: do this via stdenv injection, linking into /run/binfmt the stuff in <nixpkgs:nixos/modules/system/boot/binfmt.nix>
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
# corresponds to env var: NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1
# nixpkgs.config.allowUnsupportedSystem = true;
# granular compilation cache