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 AAAAC3NzaC1lZDI1NTE5AAAAILD8RziyMKgRj6MLkRjdHnNwG2+VolUl8ejjeteehVnw 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;
|
||
|
}
|