I learned in the nixos forums that the typical way to build x86_64-linux targets is to use UTM virtual machine and using virtualisation.rosetta.enable which then allows to use the rosetta binaries in the vm.
Can this same setup be achieved directly in the included linux builder nix.linux-builder.enable = true; so that I could build x86_64-linux targets from a apple silicon host?
I learned in the nixos forums that the typical way to build
x86_64-linux
targets is to use UTM virtual machine and usingvirtualisation.rosetta.enable
which then allows to use the rosetta binaries in the vm.Can this same setup be achieved directly in the included linux builder
nix.linux-builder.enable = true;
so that I could buildx86_64-linux
targets from a apple silicon host?Is there anything else better than the UTM vm?