mba: use lima-nixos VM for cross-compilation
Alan Pearce alan@alanpearce.eu
Sun, 23 Jul 2023 09:11:00 +0200
1 files changed, 14 insertions(+), 0 deletions(-)
jump to
M system/mba.nix → system/mba.nix
@@ -25,6 +25,20 @@ max-jobs = 8; cores = 4; auto-optimise-store = true; }; + + nix.buildMachines = [ + { + hostName = "lima-nixos"; + system = "aarch64-linux"; + sshUser = "nix-remote"; + sshKey = "/var/root/.ssh/nix-remote"; + protocol = "ssh-ng"; + maxJobs = 4; + supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; + mandatoryFeatures = [ ]; + } + ]; + nix.distributedBuilds = true; } # vim: sw=2 sts=2 expandtab autoindent smarttab