about summary refs log tree commit diff
path: root/secrets/secrets.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-14 09:45:26 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-14 09:45:26 -0800
commitd96eda0e683d53779d9ebae53d7897d96216511a (patch)
treebf60429c483c25f59f1628e376b11cc5154ce43f /secrets/secrets.nix
parentadd docstring to justfile (diff)
downloadworld-d96eda0e683d53779d9ebae53d7897d96216511a.tar.gz
use agenix to manage secrets in the repository
Diffstat (limited to 'secrets/secrets.nix')
-rw-r--r--secrets/secrets.nix12
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 ]; }