nixos-config/modules/remotebuild/client.nix
mc-fucker aab3423d33 added mc6 to remote build systems
added substitutes
2024-04-02 20:15:18 +02:00

28 lines
576 B
Nix

{ ... }:
{
nix.buildMachines =
let
system = "x86_64-linux";
protocol = "ssh-ng";
sshUser = "nixremote";
sshKey = "/root/.ssh/nixremote";
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
in
[
{
inherit system protocol sshUser sshKey supportedFeatures;
hostName = "mc7";
}
{
inherit system protocol sshUser sshKey supportedFeatures;
hostName = "mc6";
}
];
nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
}
# vim: set et ts=2 sw=2 ai: