1
0
Fork 0

Fix substituter order

This commit is contained in:
Malte Brandy 2021-10-27 01:32:09 +02:00
parent 72c1bab225
commit 9e754f2283
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
3 changed files with 6 additions and 5 deletions

View file

@ -27,11 +27,11 @@ let
{
SSH =
let
ssh = host: fork "kitty +kitten ssh ${host}";
ssh = host: "ssh ${host}";
in
{
hera = ssh "hera";
remote-builder = ssh "phoibe.cysec.de";
remote-builder = ssh "phoibe.cased.de";
ag = ssh "ag-forward";
gwres1 = ssh "gw";
cysec = ssh "borg.cysec.de";

View file

@ -48,11 +48,12 @@
lib.mkIf (!pkgs.withSecrets) { text = "echo No secrets loaded!; exit 1;"; };
nix = {
binaryCaches =
binaryCaches = lib.mkAfter (
pkgs.privateValue [ ] "binary-caches"
++ (
if config.networking.hostName != "hera" then [ "ssh-ng://nix-ssh@hera.m-0.eu?trusted=true" ] else [ ]
);
)
);
binaryCachePublicKeys =
[
"ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI="

@ -1 +1 @@
Subproject commit fcb957e5b0f06abac7df6b7e0b54e5ce0fee7c6f
Subproject commit ef8207cacacb9d38b5d68ca31dbade5345d0cca5