34 lines
788 B
Nix
34 lines
788 B
Nix
{ config, pkgs, ... }: {
|
|
programs.ssh.extraConfig = ''
|
|
StrictHostKeyChecking=accept-new
|
|
'';
|
|
|
|
nix.buildMachines = [
|
|
{
|
|
hostName = "bolty";
|
|
sshUser = "nix-builder";
|
|
sshKey = "/home/cyryl/.ssh/id_ed25519";
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
maxJobs = 2;
|
|
speedFactor = 1;
|
|
supportedFeatures = [ "kvm" "big-parallel" ];
|
|
mandatoryFeatures = [ ];
|
|
}
|
|
{
|
|
hostName = "vpsfree1";
|
|
sshUser = "nix-builder";
|
|
sshKey = "/home/cyryl/.ssh/id_ed25519";
|
|
systems = [ "x86_64-linux" ];
|
|
maxJobs = 2;
|
|
speedFactor = 2;
|
|
supportedFeatures = [ "kvm" ];
|
|
mandatoryFeatures = [ ];
|
|
}
|
|
];
|
|
|
|
nix.extraOptions = ''
|
|
builders-use-substitutes = true
|
|
'';
|
|
nix.distributedBuilds = true;
|
|
|
|
}
|