depot/secrets/secrets.nix

11 lines
362 B
Nix
Raw Normal View History

2021-06-05 22:59:06 +02:00
let
max = (import ../users/max/userinfo.nix null).sshKeys;
hosts = import ../hosts;
systemKeys = x: x.ssh.id.publicKey or null;
in with hosts;
{
"hydra-s3.age".publicKeys = max ++ map systemKeys [ styx ];
"hydra-db-credentials.age".publicKeys = max ++ map systemKeys [ styx ];
2021-06-25 04:11:26 +02:00
"gitea-db-credentials.age".publicKeys = max ++ map systemKeys [ git ];
2021-06-05 22:59:06 +02:00
}