nixcfg/secrets/secrets.nix

41 lines
1.3 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"
2024-06-14 20:06:50 -04:00
"mandarin"
2024-06-10 23:14:18 -04:00
"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-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-06-29 12:04:53 -04:00
"mail/achacega_gmail.age".publicKeys = keys;
"mail/alyraffauf_fastmail.age".publicKeys = keys;
"spotify/clientId.age".publicKeys = keys;
"spotify/clientSecret.age".publicKeys = keys;
"syncthing/fallarbor/cert.age".publicKeys = keys;
"syncthing/fallarbor/key.age".publicKeys = keys;
"syncthing/lavaridge/cert.age".publicKeys = keys;
"syncthing/lavaridge/key.age".publicKeys = keys;
"syncthing/mauville/cert.age".publicKeys = keys;
"syncthing/mauville/key.age".publicKeys = keys;
"syncthing/petalburg/cert.age".publicKeys = keys;
"syncthing/petalburg/key.age".publicKeys = keys;
"syncthing/rustboro/cert.age".publicKeys = keys;
"syncthing/rustboro/key.age".publicKeys = keys;
2024-06-10 19:51:42 -04:00
"tailscale/authKeyFile.age".publicKeys = keys;
"wifi.age".publicKeys = keys;
2024-06-08 22:29:40 -04:00
}