devos/secrets/secrets.nix

15 lines
649 B
Nix
Raw Normal View History

let
# set ssh public keys here for your system and user
2022-02-20 18:19:05 +01:00
teapot_sys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL0SIfZoa02nUXilDdyB5FBBybCv12dfYUh9eCExiPb6 root@teapot";
mae_teapot = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDi83/SFKQqdJgZLOJDFSkPY8VWAqzV7XX9ZfocbTsfe mae@teapot";
2022-06-17 22:50:29 +02:00
tesco_sys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqryVRMbcei0pZTOP1wgTVzn452vgsUP7MrEb0LQ17s root@tesco";
mae_tesco = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN64wtGODBn2yygv1sOXnV8qbXImbOttMlhdTKEyQCoT mae@tesco";
2022-06-17 23:17:33 +02:00
systemKeys = [teapot_sys tesco_sys];
allKeys = [ mae_teapot mae_tesco ] ++ systemKeys;
in
{
2022-06-17 23:17:33 +02:00
"binary-cache-secret.age".publicKeys = systemKeys;
}