depot/secrets/secrets.nix

11 lines
362 B
Nix
Raw Normal View History

2021-06-05 23:59:06 +03: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 05:11:26 +03:00
"gitea-db-credentials.age".publicKeys = max ++ map systemKeys [ git ];
2021-06-05 23:59:06 +03:00
}