22 lines
913 B
Nix
22 lines
913 B
Nix
let
|
|
systems = {
|
|
eden = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIByi8x1IgXBC6iw6MJoO7xIkkU4bdIaQ3Mi6zEtm+IJh";
|
|
hive = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGEn+C6ktSqvvwNVf1zUeNKKtZJ1QgLVhQjU83+0RvSY";
|
|
oasis = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICCvgPNEJrWjeCUmF/izLhIzaAwSNYHW9o5meYmGHGzj";
|
|
raindog = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINq0rMkFlizGPijlHKMYS9CGWJ2T1ZJHqaLozWdoySz2";
|
|
};
|
|
|
|
users = {
|
|
tdback = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIErXJtbnTYwxgqv7v5HJgd0OUAlOeEzxX7TxEyBDM+at";
|
|
};
|
|
|
|
allSystems = builtins.attrValues systems;
|
|
allUsers = builtins.attrValues users;
|
|
in
|
|
{
|
|
"forgejoAdminPass.age".publicKeys = [ systems.oasis ];
|
|
"forgejoRunnerToken.age".publicKeys = [ systems.oasis ];
|
|
"piholeAdminPass.age".publicKeys = [ systems.raindog ];
|
|
"pushoverAppToken.age".publicKeys = allSystems ++ allUsers;
|
|
"pushoverUserToken.age".publicKeys = allSystems ++ allUsers;
|
|
}
|