helm/secrets/secrets.nix

38 lines
1.8 KiB
Nix
Raw Permalink Normal View History

2022-09-18 15:13:50 -07:00
let
# set ssh public keys here for your system and user
2022-10-10 02:19:26 -07:00
user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItTdCyYVur6LzRQf08JZUcEAr23H7fTRRmDJOzoOc6A anish@curve";
2023-01-10 03:05:23 -08:00
system = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE4kI2giQrA/VgM/Ao4T+f7npcJ//acKZ5yY+eUuVzbB root@curve";
2022-09-18 15:13:50 -07:00
mossnet = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA0bsVbdQR6iWNLKIiID57A1+dVXC58Dtf5cSXg6/JF root@box";
2022-10-10 02:19:26 -07:00
lituus = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH2lAb33LH3JNuOfBXt971u0tHe+NURFecQdfjwEj+C+ root@lituus";
2022-12-07 02:10:15 -08:00
helix = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAKrL6IDHNnHmxi0q9nzu87NOyidPm3HpE7klU368lEf root@helix";
2023-05-30 05:21:12 -07:00
helix2 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK2G81z1E51ioJQGLHnTJEjgSdBqLM6mb72Z+0atE6Bf root@helix";
2022-09-18 15:13:50 -07:00
curve = [ system user ];
2022-10-10 02:19:26 -07:00
allUserKeys = [ system user mossnet ];
systemOnly = [ system mossnet lituus helix ];
2022-09-18 15:13:50 -07:00
in
{
"taskwarrior-private.age".publicKeys = curve;
2022-10-10 02:19:26 -07:00
"fastmail.age".publicKeys = allUserKeys;
"mossnet.age".publicKeys = allUserKeys;
2023-01-10 03:16:48 -08:00
"curve-wg.age".publicKeys = curve;
2023-05-15 07:18:41 -07:00
"nullhex-smtp.age".publicKeys = systemOnly;
2022-09-18 15:13:50 -07:00
"borg-password.age".publicKeys = systemOnly;
"borg-key.age".publicKeys = systemOnly;
2023-05-30 05:21:12 -07:00
"helix-wg.age".publicKeys = [ helix2 helix ];
"freshrss-dbpass.age".publicKeys = [ helix2 helix ];
"woodpecker-server-secrets.age".publicKeys = [ helix2 helix ];
"gitea-dbpass.age".publicKeys = [ helix helix2 ];
2022-10-10 02:19:26 -07:00
"synapse-config.age".publicKeys = [ lituus ];
"synapse-database-password.age".publicKeys = [ lituus ];
"sealight-mod-password.age".publicKeys = [ lituus ];
"telegram-matrix-env.age".publicKeys = [ lituus ];
2022-12-11 23:16:08 -08:00
2022-12-12 07:07:12 -08:00
"wallabag.age".publicKeys = [ mossnet ];
2023-05-30 05:21:12 -07:00
"woodpecker-agent-secret.age".publicKeys = [ mossnet helix helix2 ];
"box-wg.age".publicKeys = [ mossnet ];
"wallabag-password.age".publicKeys = [ mossnet ];
"wallabag-secret.age".publicKeys = [ mossnet ];
2022-09-18 15:13:50 -07:00
}