depot/secrets/secrets.nix

29 lines
1.6 KiB
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 15:43:19 +03:00
"acme-dns-key.age".publicKeys = max ++ map systemKeys [ VEGAS ];
2021-10-16 21:23:43 +03:00
"coturn-static-auth.age".publicKeys = max ++ map systemKeys [ VEGAS ];
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 21:24:30 +03:00
"keycloak-dbpass.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"matrix-appservice-discord-token.age".publicKeys = max ++ map systemKeys [ VEGAS ];
2021-10-16 20:59:06 +03:00
"minio-console-secrets.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"minio-root-credentials.age".publicKeys = max ++ map systemKeys [ VEGAS ];
2021-10-16 21:23:55 +03:00
"nextcloud-adminpass.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"nextcloud-dbpass.age".publicKeys = max ++ map systemKeys [ VEGAS ];
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 ];
"synapse-db.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"synapse-keys.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"synapse-ldap.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"synapse-turn.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"wireguard-key-wgautobahn.age".publicKeys = max ++ map systemKeys [ VEGAS ];
2021-10-16 20:59:19 +03:00
"vpn-host-key-VEGAS.age".publicKeys = max ++ map systemKeys [ VEGAS ];
2021-06-05 23:59:06 +03:00
}