depot/secrets/secrets.nix

16 lines
740 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;
{
2021-10-16 20:35:22 +03:00
"discourse-adminpass.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"discourse-dbpass.age".publicKeys = max ++ map systemKeys [ VEGAS ];
2021-10-16 20:35:50 +03:00
"gitea-db-credentials.age".publicKeys = max ++ map systemKeys [ VEGAS ];
2021-06-05 23:59:06 +03:00
"hydra-db-credentials.age".publicKeys = max ++ map systemKeys [ styx ];
2021-10-16 20:35:50 +03:00
"hydra-s3.age".publicKeys = max ++ map systemKeys [ styx ];
2021-10-16 20:39:49 +03:00
"oauth2_proxy-secrets.age".publicKeys = max ++ map systemKeys [ VEGAS ];
2021-10-16 21:22:48 +03:00
"postfix-ldap-mailboxes.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"wireguard-key-wgautobahn.age".publicKeys = max ++ map systemKeys [ VEGAS ];
2021-06-05 23:59:06 +03:00
}