added nix remote build client
This commit is contained in:
parent
50e433ddf5
commit
1d11ebd20a
1 changed files with 20 additions and 0 deletions
20
modules/remotebuild/client.nix
Normal file
20
modules/remotebuild/client.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
nix.buildMachines =
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
protocol = "ssh-ng";
|
||||||
|
sshUser = "nixremote";
|
||||||
|
sshKey = "/root/.ssh/nixremote";
|
||||||
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||||
|
in
|
||||||
|
[ {
|
||||||
|
#buildOptions ++ hostName = "mc7";
|
||||||
|
inherit system protocol sshUser sshKey supportedFeatures;
|
||||||
|
hostName = "mc7";
|
||||||
|
}];
|
||||||
|
|
||||||
|
nix.distributedBuilds = true;
|
||||||
|
}
|
||||||
|
# vim: set et ts=2 sw=2 ai:
|
||||||
Loading…
Add table
Reference in a new issue