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; write = true;
keys = [ keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF4OvRjIUlO2TGPTjYNXbgFuP95uvbszyBjqvAC+Z8zH release-bot@cyplo.dev" "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 = '' programs.ssh.extraConfig = ''
Host vpsfree1 Host vpsfree1
HostName vpsfree1 HostName vpsfree1
@ -10,8 +6,7 @@
StrictHostKeyChecking=accept-new StrictHostKeyChecking=accept-new
''; '';
nix.buildMachines = [ nix.buildMachines = [{
{
hostName = "bolty"; hostName = "bolty";
sshUser = "nix-builder"; sshUser = "nix-builder";
sshKey = "/home/cyryl/.ssh/id_ed25519"; sshKey = "/home/cyryl/.ssh/id_ed25519";
@ -20,12 +15,14 @@
speedFactor = 1; speedFactor = 1;
supportedFeatures = [ "kvm" "big-parallel" ]; supportedFeatures = [ "kvm" "big-parallel" ];
mandatoryFeatures = [ ]; mandatoryFeatures = [ ];
} }];
];
nix.extraOptions = '' nix.extraOptions = ''
builders-use-substitutes = true builders-use-substitutes = true
''; '';
nix.distributedBuilds = 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=" ];
} }