about summary refs log tree commit diff
path: root/hosts/aptos/secrets
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-04-23 15:35:54 -0700
committerFranck Cuny <franck@fcuny.net>2023-04-23 15:35:54 -0700
commit3f2a9fd51df17a06a749900d3d9fb826f402e881 (patch)
treec09b1f13c34f0d81ae6adbbfaa792b7b70c6428f /hosts/aptos/secrets
parentmodules/services: more cleanup (diff)
downloadworld-3f2a9fd51df17a06a749900d3d9fb826f402e881.tar.gz
hosts/aptos: do backups over sftp with a dedicated ssh key
Diffstat (limited to '')
-rw-r--r--hosts/aptos/secrets/restic/ssh-key.agebin0 -> 829 bytes
-rw-r--r--hosts/aptos/secrets/secrets.nix5
2 files changed, 5 insertions, 0 deletions
diff --git a/hosts/aptos/secrets/restic/ssh-key.age b/hosts/aptos/secrets/restic/ssh-key.age
new file mode 100644
index 0000000..05024cf
--- /dev/null
+++ b/hosts/aptos/secrets/restic/ssh-key.age
Binary files differdiff --git a/hosts/aptos/secrets/secrets.nix b/hosts/aptos/secrets/secrets.nix
index 529e7f9..21aae44 100644
--- a/hosts/aptos/secrets/secrets.nix
+++ b/hosts/aptos/secrets/secrets.nix
@@ -20,4 +20,9 @@ in
     publicKeys = [ root fcuny backup ];
     owner = "fcuny";
   };
+
+  "restic/ssh-key.age" = {
+    publicKeys = [ root fcuny backup ];
+    owner = "fcuny";
+  };
 }