nixcfg/secrets/secrets.nix

41 lines
1.9 KiB
Nix
Raw Normal View History

2024-06-08 22:29:40 -04:00
let
users = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA5xWjZIdMQaQE7vyPP7VRAKNHbrFeh0QtF3bAXni66V aly@lavaridge"
2024-06-10 18:43:21 -04:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFpB0VgxgoLpFYK9HT38bSmmqiX+tUWhzFNmHgEUCLQE aly@rustboro"
2024-06-08 22:29:40 -04:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJBK+QkM3C98BxnJtcEOuxjT7bbUG8gsUafrzW9uKuxz aly@petalburg"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBGJ03i6Bgnc/Fv6IDfQH8JtBW3435SJLaZX7WzgWBw aly@fallarbor"
2024-06-08 22:29:40 -04:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINHdpGTfjmnnau18CowChY4hPn/fzRkgJvXFs+yPy74I aly@mauville"
];
fallarbor = builtins.readFile ../hosts/fallarbor/ssh.pub;
lavaridge = builtins.readFile ../hosts/lavaridge/ssh.pub;
mauville = builtins.readFile ../hosts/mauville/ssh.pub;
petalburg = builtins.readFile ../hosts/petalburg/ssh.pub;
rustboro = builtins.readFile ../hosts/rustboro/ssh.pub;
2024-06-08 22:29:40 -04:00
systems = [
fallarbor
lavaridge
mauville
petalburg
rustboro
2024-06-08 22:29:40 -04:00
];
in {
2024-06-09 19:25:55 -04:00
"hosts/fallarbor/syncthing/cert.age".publicKeys = users ++ systems;
"hosts/fallarbor/syncthing/key.age".publicKeys = users ++ systems;
"hosts/lavaridge/syncthing/cert.age".publicKeys = users ++ systems;
"hosts/lavaridge/syncthing/key.age".publicKeys = users ++ systems;
"hosts/mauville/syncthing/cert.age".publicKeys = users ++ systems;
"hosts/mauville/syncthing/key.age".publicKeys = users ++ systems;
"hosts/petalburg/syncthing/cert.age".publicKeys = users ++ systems;
"hosts/petalburg/syncthing/key.age".publicKeys = users ++ systems;
"hosts/rustboro/syncthing/cert.age".publicKeys = users ++ systems;
"hosts/rustboro/syncthing/key.age".publicKeys = users ++ systems;
2024-06-09 00:08:10 -04:00
"spotify/clientId.age".publicKeys = users ++ systems;
"spotify/clientSecret.age".publicKeys = users ++ systems;
"lastFM/apiKey.age".publicKeys = users ++ systems;
"lastFM/secret.age".publicKeys = users ++ systems;
2024-06-09 00:51:09 -04:00
"tailscale/authKeyFile.age".publicKeys = users ++ systems;
"wifi.age".publicKeys = users ++ systems;
2024-06-08 22:29:40 -04:00
}