allow foureighty to acces new store

This commit is contained in:
Cyryl Płotnicki 2023-01-04 08:41:38 +00:00
parent e5ee9b5a6a
commit adc444b274
2 changed files with 16 additions and 18 deletions

View file

@ -5,6 +5,7 @@
write = true;
keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF4OvRjIUlO2TGPTjYNXbgFuP95uvbszyBjqvAC+Z8zH release-bot@cyplo.dev"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEo4R+6J3h6Ix3xWpOMdU7Es1/YxFchHw0c+kcCOJxFb cyryl@foureighty"
];
};
}

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
programs.ssh.extraConfig = ''
Host vpsfree1
HostName vpsfree1
@ -10,22 +6,23 @@
StrictHostKeyChecking=accept-new
'';
nix.buildMachines = [
{
nix.buildMachines = [{
hostName = "bolty";
sshUser = "nix-builder";
sshKey = "/home/cyryl/.ssh/id_ed25519";
systems = ["i686-linux" "x86_64-linux" "aarch64-linux"];
systems = [ "i686-linux" "x86_64-linux" "aarch64-linux" ];
maxJobs = 2;
speedFactor = 1;
supportedFeatures = ["kvm" "big-parallel"];
mandatoryFeatures = [];
}
];
supportedFeatures = [ "kvm" "big-parallel" ];
mandatoryFeatures = [ ];
}];
nix.extraOptions = ''
builders-use-substitutes = true
'';
nix.distributedBuilds = true;
nix.settings.substituters = ["s3://nix-store?endpoint=objects.cyplo.dev&scheme=https&region=cyplodev" "https://cache.nixos.org/"];
nix.settings.substituters =
[ "ssh://nix-ssh@bolty.raptor-carp.ts.net" "https://cache.nixos.org/" ];
nix.settings.trusted-public-keys =
[ "cyplodev-store-key:a/+PEufePs7giWqYyRqy+TgUKLMbY+RQuJQu2aUjdl8=" ];
}