2023-10-28 16:45:30 +02:00
|
|
|
let
|
2024-04-03 20:54:40 +02:00
|
|
|
admins = import ../logins/admins.nix;
|
2023-10-28 16:45:30 +02:00
|
|
|
|
|
|
|
nachtigall-host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP7G0ufi+MNvaAZLDgpieHrABPGN7e/kD5kMFwSk4ABj root@nachtigall";
|
2024-05-22 21:49:34 +02:00
|
|
|
metronom-host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICLX6UvvrKALKL0xsNnytLPHryzZF5evUnxAgGokf14i root@metronom";
|
2024-05-29 17:45:23 +02:00
|
|
|
tankstelle-host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJdF6cJKPDiloWiDja1ZtqkXDdXOCHPs10HD+JMzgeU4 root@tankstelle";
|
2024-08-24 03:05:16 +02:00
|
|
|
trinkgenossin-host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDZXRDpom/LtyoCxvRuoONARKxIT6wNUwEyUjzHRE7DG root@trinkgenossin";
|
|
|
|
delite-host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAKo7zlfQhcJ5/okFTOoOstZtmEL1iNlHxQ4q2baEcWT root@delite";
|
|
|
|
blue-shell-host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP9g9X0a/MaVtbh44IeLxcq+McuYec0GYAdLsseBpk5f root@blue-shell";
|
2024-10-26 02:03:31 +02:00
|
|
|
underground-host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGF3PtA89yhVkmN7aJI6gqXK8DW9L7kI71IgiK4TAEwI root@underground";
|
2023-10-28 16:45:30 +02:00
|
|
|
|
2024-04-03 20:54:40 +02:00
|
|
|
adminKeys = builtins.foldl' (
|
|
|
|
keys: login: keys ++ (builtins.attrValues login.secretEncryptionKeys)
|
|
|
|
) [ ] (builtins.attrValues admins);
|
2023-10-28 16:45:30 +02:00
|
|
|
|
|
|
|
nachtigallKeys = [ nachtigall-host ];
|
2023-11-06 21:28:37 +01:00
|
|
|
|
2024-05-29 17:45:23 +02:00
|
|
|
tankstelleKeys = [ tankstelle-host ];
|
|
|
|
|
2024-05-22 21:49:34 +02:00
|
|
|
metronomKeys = [ metronom-host ];
|
2024-08-24 03:05:16 +02:00
|
|
|
|
2024-08-25 00:13:53 +02:00
|
|
|
trinkgenossinKeys = [ trinkgenossin-host ];
|
|
|
|
|
|
|
|
deliteKeys = [ delite-host ];
|
|
|
|
|
|
|
|
blueshellKeys = [ blue-shell-host ];
|
|
|
|
|
2024-10-26 02:03:31 +02:00
|
|
|
undergroundKeys = [ underground-host ];
|
|
|
|
|
2024-08-24 17:39:49 +02:00
|
|
|
garageKeys = [
|
|
|
|
trinkgenossin-host
|
|
|
|
delite-host
|
|
|
|
blue-shell-host
|
|
|
|
];
|
2023-10-28 16:45:30 +02:00
|
|
|
in
|
|
|
|
{
|
2023-11-05 19:35:37 +01:00
|
|
|
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBB5XaH02a6+TchnyQED2VwaltPgeFCbildbE2h6nF5e root@nachtigall
|
2024-04-03 20:54:40 +02:00
|
|
|
"nachtigall-root-ssh-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-08-25 03:45:53 +02:00
|
|
|
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDeKXqbhNzbXk15h2k8wGBByxMDCC6HE1/fwa4j6ECu root@metronom
|
|
|
|
"metronom-root-ssh-key.age".publicKeys = metronomKeys ++ adminKeys;
|
2024-04-03 20:54:40 +02:00
|
|
|
|
|
|
|
"nachtigall-wg-private-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-05-30 19:17:21 +02:00
|
|
|
"tankstelle-wg-private-key.age".publicKeys = tankstelleKeys ++ adminKeys;
|
2024-05-22 21:49:34 +02:00
|
|
|
"metronom-wg-private-key.age".publicKeys = metronomKeys ++ adminKeys;
|
2024-08-25 00:13:53 +02:00
|
|
|
"trinkgenossin-wg-private-key.age".publicKeys = trinkgenossinKeys ++ adminKeys;
|
|
|
|
"delite-wg-private-key.age".publicKeys = deliteKeys ++ adminKeys;
|
|
|
|
"blue-shell-wg-private-key.age".publicKeys = blueshellKeys ++ adminKeys;
|
2023-11-05 19:35:37 +01:00
|
|
|
|
2024-10-15 23:16:34 +02:00
|
|
|
"mastodon-active-record-encryption-deterministic-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-10-16 11:37:10 +02:00
|
|
|
"mastodon-active-record-encryption-key-derivation-salt.age".publicKeys =
|
|
|
|
nachtigallKeys ++ adminKeys;
|
2024-10-15 23:16:34 +02:00
|
|
|
"mastodon-active-record-encryption-primary-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-04-03 20:54:40 +02:00
|
|
|
"mastodon-secret-key-base.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"mastodon-otp-secret.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"mastodon-vapid-private-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"mastodon-vapid-public-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"mastodon-smtp-password.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"mastodon-extra-env-secrets.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2023-10-28 21:28:01 +02:00
|
|
|
|
2024-04-03 20:54:40 +02:00
|
|
|
"keycloak-database-password.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2023-10-28 21:46:18 +02:00
|
|
|
|
2024-05-29 17:45:23 +02:00
|
|
|
"tankstelle-forgejo-actions-runner-token.age".publicKeys = tankstelleKeys ++ adminKeys;
|
2024-04-03 20:54:40 +02:00
|
|
|
"forgejo-database-password.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"forgejo-mailer-password.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-04-05 19:14:10 +02:00
|
|
|
"forgejo-ssh-private-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2023-10-28 02:21:34 +02:00
|
|
|
|
2024-04-03 20:54:40 +02:00
|
|
|
"matrix-mautrix-telegram-env-file.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-10-30 17:14:47 +01:00
|
|
|
"matrix-synapse-signing-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"matrix-synapse-secret-config.yaml.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"matrix-synapse-sliding-sync-secret.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-10-30 17:57:33 +01:00
|
|
|
"matrix-authentication-service-secret-config.yml.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-10-26 02:03:31 +02:00
|
|
|
|
2024-10-30 17:14:47 +01:00
|
|
|
"staging-matrix-synapse-secret-config.yaml.age".publicKeys = undergroundKeys ++ adminKeys;
|
|
|
|
"staging-matrix-authentication-service-secret-config.yml.age".publicKeys =
|
2024-10-27 17:28:20 +01:00
|
|
|
undergroundKeys ++ adminKeys;
|
2023-10-28 18:53:02 +02:00
|
|
|
|
2024-04-03 20:54:40 +02:00
|
|
|
"nextcloud-secrets.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"nextcloud-admin-pass.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2023-10-29 15:38:44 +01:00
|
|
|
|
2024-04-03 20:54:40 +02:00
|
|
|
"searx-environment.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2023-11-05 22:54:09 +01:00
|
|
|
|
2024-08-25 03:45:53 +02:00
|
|
|
"restic-repo-garage-metronom.age".publicKeys = metronomKeys ++ adminKeys;
|
|
|
|
"restic-repo-garage-metronom-env.age".publicKeys = metronomKeys ++ adminKeys;
|
2024-04-03 20:54:40 +02:00
|
|
|
"restic-repo-droppie.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-08-29 16:22:58 +02:00
|
|
|
"restic-repo-storagebox-nachtigall.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-08-25 03:45:53 +02:00
|
|
|
"restic-repo-storagebox-metronom.age".publicKeys = metronomKeys ++ adminKeys;
|
2024-08-28 17:10:17 +02:00
|
|
|
"restic-repo-garage-nachtigall.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"restic-repo-garage-nachtigall-env.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2023-11-06 21:28:37 +01:00
|
|
|
|
2024-04-03 20:54:40 +02:00
|
|
|
"mediawiki-database-password.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"mediawiki-admin-password.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"mediawiki-oidc-client-secret.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"mediawiki-secret-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2023-11-19 17:22:09 +01:00
|
|
|
|
2024-11-13 21:25:12 +01:00
|
|
|
"coturn-static-auth-secret.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2023-12-03 14:19:30 +01:00
|
|
|
|
2024-09-09 17:22:57 +02:00
|
|
|
"grafana-admin-password.age".publicKeys = trinkgenossinKeys ++ adminKeys;
|
|
|
|
"grafana-keycloak-client-secret.age".publicKeys = trinkgenossinKeys ++ adminKeys;
|
|
|
|
"grafana-smtp-password.age".publicKeys = trinkgenossinKeys ++ adminKeys;
|
2023-12-06 19:11:45 +01:00
|
|
|
|
2024-09-09 17:22:57 +02:00
|
|
|
"alertmanager-envfile.age".publicKeys = trinkgenossinKeys ++ adminKeys;
|
2024-02-22 19:20:24 +01:00
|
|
|
|
|
|
|
"obs-portal-env.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"obs-portal-database-env.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-05-22 21:49:34 +02:00
|
|
|
|
2024-07-17 18:49:36 +02:00
|
|
|
"tt-rss-feed-crypt-key.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"tt-rss-keycloak-client-secret.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"tt-rss-smtp-password.age".publicKeys = nachtigallKeys ++ adminKeys;
|
|
|
|
"tt-rss-database-password.age".publicKeys = nachtigallKeys ++ adminKeys;
|
2024-07-17 13:12:57 +02:00
|
|
|
|
2024-05-22 21:49:34 +02:00
|
|
|
# mail
|
|
|
|
"mail/hensoko.age".publicKeys = metronomKeys ++ adminKeys;
|
2024-05-25 17:24:42 +02:00
|
|
|
"mail/teutat3s.age".publicKeys = metronomKeys ++ adminKeys;
|
|
|
|
"mail/admins.age".publicKeys = metronomKeys ++ adminKeys;
|
|
|
|
"mail/bot.age".publicKeys = metronomKeys ++ adminKeys;
|
|
|
|
"mail/crew.age".publicKeys = metronomKeys ++ adminKeys;
|
|
|
|
"mail/erpnext.age".publicKeys = metronomKeys ++ adminKeys;
|
|
|
|
"mail/hakkonaut.age".publicKeys = metronomKeys ++ adminKeys;
|
2024-08-24 03:05:16 +02:00
|
|
|
|
|
|
|
# garage
|
|
|
|
"garage-rpc-secret.age".publicKeys = garageKeys ++ adminKeys;
|
|
|
|
"garage-admin-token.age".publicKeys = garageKeys ++ adminKeys;
|
2024-08-24 21:48:48 +02:00
|
|
|
|
|
|
|
"acme-namecheap-env.age".publicKeys = garageKeys ++ adminKeys;
|
2023-10-28 16:45:30 +02:00
|
|
|
}
|