mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 13:03:56 -05:00
31 lines
1.1 KiB
Nix
31 lines
1.1 KiB
Nix
let
|
|
hosts = [
|
|
"fallarbor"
|
|
"lavaridge"
|
|
"mauville"
|
|
"mandarin"
|
|
"petalburg"
|
|
"rustboro"
|
|
];
|
|
systemKeys = builtins.map (host: builtins.readFile ./publicKeys/root_${host}.pub) hosts;
|
|
userKeys = builtins.map (host: builtins.readFile ./publicKeys/aly_${host}.pub) hosts;
|
|
keys = systemKeys ++ userKeys;
|
|
in {
|
|
"lastFM/apiKey.age".publicKeys = keys;
|
|
"lastFM/secret.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;
|
|
"tailscale/authKeyFile.age".publicKeys = keys;
|
|
"wifi.age".publicKeys = keys;
|
|
}
|