diff options
author | Franck Cuny <franck@fcuny.net> | 2024-12-14 09:45:26 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-12-14 09:45:26 -0800 |
commit | d96eda0e683d53779d9ebae53d7897d96216511a (patch) | |
tree | bf60429c483c25f59f1628e376b11cc5154ce43f /secrets/secrets.nix | |
parent | add docstring to justfile (diff) | |
download | world-d96eda0e683d53779d9ebae53d7897d96216511a.tar.gz |
use agenix to manage secrets in the repository
Diffstat (limited to '')
-rw-r--r-- | secrets/secrets.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/secrets/secrets.nix b/secrets/secrets.nix new file mode 100644 index 0000000..69c15f3 --- /dev/null +++ b/secrets/secrets.nix @@ -0,0 +1,12 @@ +let + fcuny = + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"; + users = [ fcuny ]; + + vm-aarch64 = + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvVTAPXBOynTeMXvti6Xt9luCJAHaHZBb6aGs0SDoO"; + vm-synology = + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHf5gXGbOjaoqdpCDnHjBMhikuM0smLKhUo7J83+by+K"; + systems = [ vm-aarch64 vm-synology ]; +in +{ "restic-backups.age".publicKeys = [ fcuny vm-synology ]; } |