1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-26 07:43:45 +01:00
github.com-tboerger-nixos-c.../secrets/secrets.nix
2022-12-04 23:16:02 +01:00

38 lines
1.8 KiB
Nix

let
thomas = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINaQYR0/Oj6k1H03kshz2J7rlGCaDSuaGPhhOs9FcZfn";
users = [ thomas ];
anubis = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII8giHHf/baGidSc0GR0IUDEm2ym/EZVbtA7p2RkQ7In";
chnum = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFmxTCjjLZL+pFZU1A8ylZbMPF8SD5NtkJ001z2mx0i4";
niflheim = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnWrIfgpMSyCOwEEb1onBYyJ/+NOTm+FXAacYoYKba9";
midgard = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICGC6aSeeKiMO9y3NMxPOh2JvvGYcyS4za+0+hSqI3Bj";
asgard = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE2yYJUssGAmPBv5QBQJTZfwyl0HSgYMQjssG2hjk63+";
utgard = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDv7Ua1agDUdEo+0uSr99qlhFGsyte+jgf1Z3M+veuq7";
systems = [ anubis chnum niflheim midgard asgard utgard ];
in
{
"services/acme/credentials.age".publicKeys = users ++ systems;
"services/mopidy/jellyfin.age".publicKeys = users ++ systems;
"services/nixbuild/sshkey.age".publicKeys = users ++ systems;
"services/tailscale/authkey.age".publicKeys = users ++ systems;
"users/media/password.age".publicKeys = users ++ systems;
"users/media/smbpasswd.age".publicKeys = users ++ systems;
"users/printer/password.age".publicKeys = users ++ systems;
"users/printer/smbpasswd.age".publicKeys = users ++ systems;
"users/root/password.age".publicKeys = users ++ systems;
"users/admin/password.age".publicKeys = users ++ systems;
"users/thomas/password.age".publicKeys = users ++ systems;
"users/anna/password.age".publicKeys = users ++ systems;
"users/adrian/password.age".publicKeys = users ++ systems;
"users/tabea/password.age".publicKeys = users ++ systems;
"users/thomas/ghtoken.age".publicKeys = users ++ systems;
"users/thomas/hackthebox.age".publicKeys = users ++ systems;
"users/thomas/minio.age".publicKeys = users ++ systems;
"users/thomas/netrc.age".publicKeys = users ++ systems;
}