2023-01-13 06:42:21 +00:00
|
|
|
let
|
2022-12-23 10:28:19 +00:00
|
|
|
# user-specific (~/.ssh/id_ed25519.pub)
|
|
|
|
users = {
|
|
|
|
"hungtr@bao" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK+1+gps6phbZboIb9fH51VNPUCkhSSOAbkI3tq3Ou0Z";
|
|
|
|
};
|
|
|
|
# System-specific settings (/etc/ssh/ssh_hsot_ed25519_key.pub)
|
|
|
|
systems = {
|
|
|
|
"bao" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIBuAaAE7TiQmMH300VRj/pYCri1qPmHjd+y9aX2J0Fs";
|
|
|
|
};
|
|
|
|
all = users // systems;
|
|
|
|
# stands for calculus
|
|
|
|
c_ = builtins;
|
2023-01-13 06:42:21 +00:00
|
|
|
in
|
|
|
|
{
|
2022-12-23 10:28:19 +00:00
|
|
|
"system/secrets/s3fs.age".publicKeys = c_.attrValues (all);
|
2022-12-24 09:19:24 +00:00
|
|
|
"system/secrets/s3fs.digital-garden.age".publicKeys = c_.attrValues (all);
|
2022-12-23 22:51:04 +00:00
|
|
|
"system/secrets/_nhitrl.age".publicKeys = c_.attrValues (all);
|
2022-12-24 09:19:24 +00:00
|
|
|
|
2022-12-23 10:28:19 +00:00
|
|
|
}
|