flake/secrets/secrets.nix

16 lines
587 B
Nix
Raw Normal View History

2023-11-14 19:47:42 +01:00
let
2023-11-22 15:38:47 +01:00
main = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHETiSgdsFFub534ChUKrY3U1ApAlyM7jqFmj3qN65so root@fuji"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPbRi03uVAVzqEI5zc8QmP3uthcC1ep55gQL+nQPrEvv root@kilimandjaro"
];
2023-11-15 00:59:51 +01:00
server = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdyRFBTdyCCMQ7I75TyO9voxrrreXQTXtSw+iCRf4XI root@vesuvio"] ++ main;
2023-11-14 19:47:42 +01:00
in {
"desktop/rootPassword.age".publicKeys = main;
"desktop/userPassword.age".publicKeys = main;
2023-11-15 00:59:51 +01:00
2024-01-10 17:48:50 +01:00
"tailscaleKey.age".publicKeys = server;
2023-11-15 00:59:51 +01:00
"vesuvio/rootPassword.age".publicKeys = server;
"vesuvio/userPassword.age".publicKeys = server;
2023-11-14 19:47:42 +01:00
}