1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-22 18:21:58 +01:00
github.com-tboerger-nixos-c.../secrets/secrets.nix
2024-01-31 07:56:27 +01:00

27 lines
971 B
Nix

let
thomas = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINaQYR0/Oj6k1H03kshz2J7rlGCaDSuaGPhhOs9FcZfn";
users = [ thomas ];
anubis = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII8giHHf/baGidSc0GR0IUDEm2ym/EZVbtA7p2RkQ7In";
chnum = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHKFHDzfYlfsmmL+jBsTJ96WM5ijXaFPxjR6LFz04dpZ";
asgard = "";
utgard = "";
vanaheim = "";
yggdrasil = "";
systems = [ anubis chnum ];
in
{
"services/acme/credentials.age".publicKeys = users ++ systems;
"services/tailscale/authkey.age".publicKeys = users ++ systems;
"services/shares/printer.age".publicKeys = users ++ systems;
"services/shares/media.age".publicKeys = users ++ systems;
"users/root/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;
}