nixcfg/secrets/secrets.nix

32 lines
1.4 KiB
Nix
Raw Normal View History

2024-06-08 22:29:40 -04:00
let
2024-06-10 19:51:42 -04:00
keys = [
(builtins.readFile ./publicKeys/aly_fallarbor.pub)
(builtins.readFile ./publicKeys/aly_lavaridge.pub)
(builtins.readFile ./publicKeys/aly_mauville.pub)
(builtins.readFile ./publicKeys/aly_petalburg.pub)
(builtins.readFile ./publicKeys/aly_rustboro.pub)
(builtins.readFile ./publicKeys/root_fallarbor.pub)
(builtins.readFile ./publicKeys/root_lavaridge.pub)
(builtins.readFile ./publicKeys/root_mauville.pub)
(builtins.readFile ./publicKeys/root_petalburg.pub)
(builtins.readFile ./publicKeys/root_rustboro.pub)
2024-06-08 22:29:40 -04:00
];
in {
2024-06-10 19:51:42 -04:00
"hosts/fallarbor/syncthing/cert.age".publicKeys = keys;
"hosts/fallarbor/syncthing/key.age".publicKeys = keys;
"hosts/lavaridge/syncthing/cert.age".publicKeys = keys;
"hosts/lavaridge/syncthing/key.age".publicKeys = keys;
"hosts/mauville/syncthing/cert.age".publicKeys = keys;
"hosts/mauville/syncthing/key.age".publicKeys = keys;
"hosts/petalburg/syncthing/cert.age".publicKeys = keys;
"hosts/petalburg/syncthing/key.age".publicKeys = keys;
"hosts/rustboro/syncthing/cert.age".publicKeys = keys;
"hosts/rustboro/syncthing/key.age".publicKeys = keys;
"spotify/clientId.age".publicKeys = keys;
"spotify/clientSecret.age".publicKeys = keys;
"lastFM/apiKey.age".publicKeys = keys;
"lastFM/secret.age".publicKeys = keys;
"tailscale/authKeyFile.age".publicKeys = keys;
"wifi.age".publicKeys = keys;
2024-06-08 22:29:40 -04:00
}