setup remote build on genepi from haze
This commit is contained in:
parent
08d8aa306d
commit
1881338314
1 changed files with 16 additions and 0 deletions
|
|
@ -28,4 +28,20 @@
|
||||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
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
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue