28 lines
1.1 KiB
Nix
28 lines
1.1 KiB
Nix
# agenix recipients: which public keys may decrypt which secret.
|
|
#
|
|
# The agenix CLI reads this file (`cd secrets && agenix -e <name>.age`); the NixOS
|
|
# configuration does not import it. Every key below is a PLACEHOLDER: replace
|
|
# each one before encrypting anything.
|
|
#
|
|
# host : the machine's /etc/ssh/ssh_host_ed25519_key.pub
|
|
# (`create-keys` in the install USB workflow writes it to keys/)
|
|
# user : the public key of the workstation you edit secrets from
|
|
# (`cat ~/.ssh/id_ed25519.pub`)
|
|
let
|
|
host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAggjdC+XHtpgLRD9bVpvpMrEsq+MujryLL4nAPdACdf root@desktop";
|
|
faumaray = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA87UgZb5wZbS+J9eR+1bHHhHFsIuGRsIhNdAk4iEntF faumaray@gmail.com";
|
|
|
|
recipients = [
|
|
host
|
|
faumaray
|
|
];
|
|
in
|
|
{
|
|
"faumaray-password.age".publicKeys = recipients;
|
|
"ssh-id_ed25519.age".publicKeys = recipients;
|
|
"ssh-id_ed25519_work.age".publicKeys = recipients;
|
|
"gitea-runner-token.age".publicKeys = recipients;
|
|
"tg-ws-proxy-secret.age".publicKeys = recipients;
|
|
"amneziawg-ai.age".publicKeys = recipients;
|
|
}
|