nixos-config/modules/remotebuild/client.nix

29 lines
576 B
Nix
Raw Normal View History

2024-04-02 19:53:17 +02:00
{ ... }:
{
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";
}
];
2024-04-02 19:53:17 +02:00
nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
2024-04-02 19:53:17 +02:00
}
# vim: set et ts=2 sw=2 ai: