2023-01-15 22:20:55 +00:00
|
|
|
let
|
|
|
|
admin = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK6DjXTAxesXpQ65l659iAjzEb6VpRaWKSg4AXxifPw9 Skynet Admin";
|
|
|
|
users = [
|
|
|
|
admin
|
|
|
|
];
|
|
|
|
|
|
|
|
# change this when its properly set up
|
|
|
|
agentjones = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGJDVQGjIwMQmkElGshgKDAlChM2xdNN6iI5Ap2IbAs5";
|
2023-01-18 14:47:21 +00:00
|
|
|
ash = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGJDVQGjIwMQmkElGshgKDAlChM2xdNN6iI5Ap2IbAs5";
|
2023-01-15 22:20:55 +00:00
|
|
|
systems = [
|
|
|
|
agentjones
|
2023-01-18 14:47:21 +00:00
|
|
|
ash
|
2023-01-15 22:20:55 +00:00
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
2023-01-18 14:47:21 +00:00
|
|
|
# nix run github:ryantm/agenix -- -e secret1.age
|
|
|
|
|
|
|
|
"wireguard.age".publicKeys = users ++ systems;
|
2023-01-15 22:20:55 +00:00
|
|
|
}
|