nixos-config/modules/remotebuild/client.nix
2024-04-02 19:53:17 +02:00

20 lines
436 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
[ {
#buildOptions ++ hostName = "mc7";
inherit system protocol sshUser sshKey supportedFeatures;
hostName = "mc7";
}];
nix.distributedBuilds = true;
}
# vim: set et ts=2 sw=2 ai: