2023-07-15 14:32:18 +00:00
|
|
|
let
|
|
|
|
# set ssh public keys here for your system and user
|
|
|
|
machines = {
|
|
|
|
dumpyourvms = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILDATEWAgDZFfYs1ZPh33Kg4sqQ9tWMVKyk8XqFu3Koe host@dumpyourvms";
|
2024-01-06 12:08:08 +00:00
|
|
|
ryzensun = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH/l7MfEmt510BMeNjuXNPmZ0brcQidvrrpcea+qJMjX host@ryzensun";
|
|
|
|
test-vm = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATdaeRzb/OE1P+lcRS/i9C4yIN11J5zpfVb7+v1D4d7";
|
2023-07-15 14:32:18 +00:00
|
|
|
};
|
|
|
|
users = {
|
2024-01-06 12:08:08 +00:00
|
|
|
teutat3s-dumpyourvms = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHcU6KPy4b1MQXd6EJhcYwbJu7E+0IrBZF/IP6T7gbMf teutat3s@dumpyourvms";
|
|
|
|
teutat3s-ryzensun = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPAsRdVYK0077cdtavmrRr6akrI68T1EDY4Hfv4+W86J teutat3s@ryzensun";
|
2023-07-15 14:32:18 +00:00
|
|
|
root = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHcU6KPy4b1MQXd6EJhcYwbJu7E+0IrBZF/IP6T7gbMf root@test-vm";
|
|
|
|
};
|
2024-01-06 12:08:08 +00:00
|
|
|
allKeys = [machines.dumpyourvms machines.ryzensun machines.test-vm users.root users.teutat3s-dumpyourvms users.teutat3s-ryzensun];
|
2023-07-15 14:32:18 +00:00
|
|
|
in {
|
|
|
|
"admin-password.age".publicKeys = allKeys;
|
|
|
|
"database-root-password.age".publicKeys = allKeys;
|
|
|
|
"database-user-password.age".publicKeys = allKeys;
|
|
|
|
}
|