setup remote build on genepi from haze
This commit is contained in:
@@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user