30 lines
No EOL
1 KiB
Nix
30 lines
No EOL
1 KiB
Nix
let
|
|
admin = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK6DjXTAxesXpQ65l659iAjzEb6VpRaWKSg4AXxifPw9 Skynet Admin";
|
|
silver_laptop_wsl = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEHNLroAjCVR9Tx382cqdxPZ5KY32r/yoQH1mgsYNqpm Silver_Laptop_WSL_Deb";
|
|
|
|
users = [
|
|
admin
|
|
silver_laptop_wsl
|
|
];
|
|
|
|
# change this when its properly set up
|
|
agentjones = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAbqYQrdVHmGgXZJoMWWRDGVEIj775Zrf4PxB5hoth+k root@agentjones";
|
|
ash = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGJDVQGjIwMQmkElGshgKDAlChM2xdNN6iI5Ap2IbAs5";
|
|
# dns servers
|
|
vendetta = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINxTrUPZPqttuxfmmP8BTACTAkv1yY1nfzEd64hN4LT+ root@vendetta";
|
|
vigil = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICDsz1bjNAThqwF48dKIJGOECsCKHTj/Gn5Gh9XyzoSO root@vigil";
|
|
|
|
systems = [
|
|
agentjones
|
|
ash
|
|
vendetta
|
|
vigil
|
|
];
|
|
in
|
|
{
|
|
# nix run github:ryantm/agenix -- -e secret1.age
|
|
|
|
"wireguard.age".publicKeys = users ++ systems;
|
|
"dns_certs.secret.age".publicKeys = users ++ systems;
|
|
"dns_dnskeys.conf.age".publicKeys = users ++ systems;
|
|
} |