2023-01-04 08:41:38 +00:00
|
|
|
{ config, pkgs, ... }: {
|
2020-05-02 14:44:15 +01:00
|
|
|
programs.ssh.extraConfig = ''
|
2023-02-02 11:49:03 +00:00
|
|
|
Host vpsfree1 vpsfree1.cyplo.dev vpsfree1.raptor-carp.ts.net
|
2022-10-31 19:36:56 +00:00
|
|
|
HostName vpsfree1
|
2022-12-19 09:09:08 +00:00
|
|
|
Port 2222
|
2020-05-02 14:44:15 +01:00
|
|
|
StrictHostKeyChecking=accept-new
|
|
|
|
'';
|
|
|
|
|
2023-01-04 08:41:38 +00:00
|
|
|
nix.buildMachines = [{
|
|
|
|
hostName = "bolty";
|
|
|
|
sshUser = "nix-builder";
|
|
|
|
sshKey = "/home/cyryl/.ssh/id_ed25519";
|
|
|
|
systems = [ "i686-linux" "x86_64-linux" "aarch64-linux" ];
|
|
|
|
maxJobs = 2;
|
|
|
|
speedFactor = 1;
|
|
|
|
supportedFeatures = [ "kvm" "big-parallel" ];
|
|
|
|
mandatoryFeatures = [ ];
|
|
|
|
}];
|
2020-02-22 11:11:10 +00:00
|
|
|
|
|
|
|
nix.extraOptions = ''
|
2021-11-22 19:32:26 +00:00
|
|
|
builders-use-substitutes = true
|
2020-02-22 11:11:10 +00:00
|
|
|
'';
|
|
|
|
nix.distributedBuilds = true;
|
2023-01-04 08:41:38 +00:00
|
|
|
nix.settings.substituters =
|
2023-01-04 09:51:22 +00:00
|
|
|
[ "https://cache.nixos.org/" "ssh://nix-ssh@bolty.raptor-carp.ts.net" ];
|
2023-01-04 08:41:38 +00:00
|
|
|
nix.settings.trusted-public-keys =
|
|
|
|
[ "cyplodev-store-key:a/+PEufePs7giWqYyRqy+TgUKLMbY+RQuJQu2aUjdl8=" ];
|
2020-02-22 11:11:10 +00:00
|
|
|
}
|