feat(grfn/system): Use mugwump as a substituter for ogopogo

Change-Id: I8ecd8543d1856e2361ee72d9a5ace7e281909063
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10663
Reviewed-by: aspen <root@gws.fyi>
Autosubmit: aspen <root@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Aspen Smith 2024-01-18 10:30:23 -05:00 committed by aspen
parent ff144d8c62
commit f169a56ad6
2 changed files with 13 additions and 0 deletions

View file

@ -73,6 +73,10 @@ with lib;
nix.gc.dates = "monthly";
users.users.grfn.openssh.authorizedKeys.keys = [
depot.users.grfn.keys.whitby
];
age.secrets =
let
secret = name: depot.users.grfn.secrets."${name}.age";

View file

@ -137,4 +137,13 @@
mode = "0440";
};
};
nix.settings.substituters = [ "ssh://grfn@172.16.0.5" ];
nix.settings.trusted-substituters = [ "ssh://grfn@172.16.0.5" ];
programs.ssh.knownHosts.mugwump = {
extraHostNames = [ "172.16.0.5" ];
publicKeyFile = pkgs.writeText "mugwump.pub" ''
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFE2fxPgWO+zeQoLBTgsgxP7Vg7QNHlrQ+Rb3fHFTomB
'';
};
}