nixcfg/secrets/secrets.nix

44 lines
1.5 KiB
Nix
Raw Normal View History

2024-06-08 22:29:40 -04:00
let
2024-06-10 23:14:18 -04:00
hosts = [
"fallarbor"
"lavaridge"
"mauville"
"petalburg"
"rustboro"
2024-06-08 22:29:40 -04:00
];
users = [
2024-07-08 18:15:09 -04:00
"aly_fallarbor"
"aly_lavaridge"
"aly_mauville"
"aly_petalburg"
"aly_rustboro"
];
2024-06-10 23:14:18 -04:00
systemKeys = builtins.map (host: builtins.readFile ./publicKeys/root_${host}.pub) hosts;
userKeys = builtins.map (user: builtins.readFile ./publicKeys/${user}.pub) users;
2024-06-10 23:14:18 -04:00
keys = systemKeys ++ userKeys;
2024-06-08 22:29:40 -04:00
in {
2024-07-25 18:26:14 -04:00
"aly/backblaze/key.age".publicKeys = keys;
"aly/backblaze/keyId.age".publicKeys = keys;
2024-06-25 21:47:48 -04:00
"cloudflare.age".publicKeys = keys;
2024-06-10 19:51:42 -04:00
"lastFM/apiKey.age".publicKeys = keys;
"lastFM/secret.age".publicKeys = keys;
2024-07-25 18:26:14 -04:00
"aly/mail/achacega_gmail.age".publicKeys = keys;
"aly/mail/alyraffauf_fastmail.age".publicKeys = keys;
"spotify/clientId.age".publicKeys = keys;
"spotify/clientSecret.age".publicKeys = keys;
2024-07-25 18:26:14 -04:00
"aly/syncthing/fallarbor/cert.age".publicKeys = keys;
"aly/syncthing/fallarbor/key.age".publicKeys = keys;
"aly/syncthing/lavaridge/cert.age".publicKeys = keys;
"aly/syncthing/lavaridge/key.age".publicKeys = keys;
"aly/syncthing/mauville/cert.age".publicKeys = keys;
"aly/syncthing/mauville/key.age".publicKeys = keys;
"aly/syncthing/petalburg/cert.age".publicKeys = keys;
"aly/syncthing/petalburg/key.age".publicKeys = keys;
"aly/syncthing/rustboro/cert.age".publicKeys = keys;
"aly/syncthing/rustboro/key.age".publicKeys = keys;
2024-06-10 19:51:42 -04:00
"tailscale/authKeyFile.age".publicKeys = keys;
"transmission.age".publicKeys = keys;
2024-07-25 18:26:14 -04:00
"aly/transmissionRemote.age".publicKeys = keys;
2024-06-10 19:51:42 -04:00
"wifi.age".publicKeys = keys;
2024-06-08 22:29:40 -04:00
}