17 lines
790 B
Nix
17 lines
790 B
Nix
let
|
|
# set ssh public keys here for your system and user
|
|
machines = {
|
|
dumpyourvms = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILDATEWAgDZFfYs1ZPh33Kg4sqQ9tWMVKyk8XqFu3Koe host@dumpyourvms";
|
|
test-vm = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB7EsR4wT+bOaC/rafTZUqsR7z9SFM57Oabv+I0ar454 host@test-vm";
|
|
};
|
|
users = {
|
|
teutat3s = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHcU6KPy4b1MQXd6EJhcYwbJu7E+0IrBZF/IP6T7gbMf teutat3s@dumpyourvms";
|
|
root = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHcU6KPy4b1MQXd6EJhcYwbJu7E+0IrBZF/IP6T7gbMf root@test-vm";
|
|
};
|
|
allKeys = [machines.dumpyourvms machines.test-vm users.root users.teutat3s];
|
|
in {
|
|
"admin-password.age".publicKeys = allKeys;
|
|
"database-root-password.age".publicKeys = allKeys;
|
|
"database-user-password.age".publicKeys = allKeys;
|
|
}
|