setup remote build on genepi from haze

This commit is contained in:
2025-02-16 16:46:47 +01:00
parent 08d8aa306d
commit 1881338314

View File

@@ -28,4 +28,20 @@
home-manager.extraSpecialArgs = { inherit inputs; };
}
];
# Remote builds
nix = {
distributedBuilds = true;
buildMachines = [
{
sshUser = "nixremote";
sshKey = "/etc/ssh/ssh_host_ed25519_key";
systems = [ "aarch64-linux" ];
hostName = "genepi";
}
];
extraOptions = ''
builders-use-substitutes = true
'';
};
}