22 lines
1.4 KiB
Nix
22 lines
1.4 KiB
Nix
let
|
|
tbarnouin = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos";
|
|
users = [tbarnouin];
|
|
|
|
forgejo = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF2NAam+nseSCzJV/1UTyO2LgMjx0xT7/vTOOi5EG9HV root@forgejo-runner";
|
|
grafana = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDQxvO9vdd2f9aV4F3LEQrrTJaLwLvSLbLtjB9qNxc4z root@grafana";
|
|
onlyoffice = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGbnzv2/Or4XdQXLDjIbr7oIDTQEvgSMTX4aiNCQk4tC root@onlyoffice";
|
|
postgresql = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRP52p1Pg1zBZc9ywr61iKAjMhQ9jo7FZvQQgAaV49m root@pgsql";
|
|
|
|
systems = [forgejo grafana];
|
|
in {
|
|
"secrets/initialPassword.age".publicKeys = users ++ systems;
|
|
"services/grafana/secrets/grafana-db.age".publicKeys = [tbarnouin grafana];
|
|
"services/grafana/secrets/grafana-oauth_secret.age".publicKeys = [tbarnouin grafana];
|
|
"services/grafana/secrets/kuma-token.age".publicKeys = [tbarnouin grafana];
|
|
"services/onlyoffice/secrets/office-dbpass.age".publicKeys = [tbarnouin onlyoffice];
|
|
"services/onlyoffice/secrets/office-jwtpass.age".publicKeys = [tbarnouin onlyoffice];
|
|
"services/postgresql/secrets/nextcloudDBPass.age".publicKeys = [ tbarnouin postgresql ];
|
|
"services/postgresql/secrets/giteaDBPass.age".publicKeys = [ tbarnouin postgresql ];
|
|
"services/postgresql/secrets/authentikDBPass.age".publicKeys = [ tbarnouin postgresql ];
|
|
"services/postgresql/secrets/grafanaDBPass.age".publicKeys = [ tbarnouin postgresql ];
|
|
}
|