all repos — nixfiles @ b72ec19ab45d9259fb32c0b3da64a5b51a124895

System and user configuration, managed by nix and home-manager

mba: use lima-nixos VM for cross-compilation

Alan Pearce
commit

b72ec19ab45d9259fb32c0b3da64a5b51a124895

parent

f99c69a24094f471bb48a9eb60994e9118da884b

1 file changed, 14 insertions(+), 0 deletions(-)

jump to
M system/mba.nixsystem/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