16 lines
733 B
Nix
16 lines
733 B
Nix
let
|
|
nextcloud-db = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGgO3EpoG14fn0VYC69sSS0iI5ZEB4qx9adFS+L5U5ZB";
|
|
nextcloud-admin = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGgO3EpoG14fn0VYC69sSS0iI5ZEB4qx9adFS+L5U5ZB";
|
|
pgadmin = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGgO3EpoG14fn0VYC69sSS0iI5ZEB4qx9adFS+L5U5ZB";
|
|
restic = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGgO3EpoG14fn0VYC69sSS0iI5ZEB4qx9adFS+L5U5ZB";
|
|
users_nextcloud = [ nextcloud-db nextcloud-admin ];
|
|
users_backup = [ restic ];
|
|
users_postgresl = [ pgadmin ];
|
|
in
|
|
{
|
|
"nextcloud-db-pass.age".publicKeys = users_nextcloud;
|
|
"nextcloud-admin-pass.age".publicKeys = users_nextcloud;
|
|
"secret_restic.age".publicKeys = users_backup;
|
|
"pgadmin.age".publicKeys = users_postgresl;
|
|
}
|