summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--secrets/default.nix8
-rw-r--r--secrets/resticpass.age (renamed from secrets/borgpass.age)0
-rw-r--r--secrets/resticssh.age (renamed from secrets/borgssh.age)0
-rw-r--r--secrets/secrets.nix4
-rw-r--r--sys/services/restic/default.nix4
5 files changed, 8 insertions, 8 deletions
diff --git a/secrets/default.nix b/secrets/default.nix
index 5b1630f..76da48d 100644
--- a/secrets/default.nix
+++ b/secrets/default.nix
@@ -6,11 +6,11 @@
     nixremote = {
       file = ./nixremote.age;
     };
-    borgssh = {
-      file = ./borgssh.age;
+    resticssh = {
+      file = ./resticssh.age;
     };
-    borgpass = {
-      file = ./borgpass.age;
+    resticpass = {
+      file = ./resticpass.age;
     };
   };
 }
diff --git a/secrets/borgpass.age b/secrets/resticpass.age
index 2bd6671..2bd6671 100644
--- a/secrets/borgpass.age
+++ b/secrets/resticpass.age
diff --git a/secrets/borgssh.age b/secrets/resticssh.age
index 4d7aff0..4d7aff0 100644
--- a/secrets/borgssh.age
+++ b/secrets/resticssh.age
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
index 58d3f07..b168cfb 100644
--- a/secrets/secrets.nix
+++ b/secrets/secrets.nix
@@ -8,6 +8,6 @@ let
 in {
   "wireless.age".publicKeys = allSecrets;
   "nixremote.age".publicKeys = allSecrets;
-  "borgssh.age".publicKeys = allSecrets;
-  "borgpass.age".publicKeys = allSecrets;
+  "resticssh.age".publicKeys = allSecrets;
+  "resticpass.age".publicKeys = allSecrets;
 }
diff --git a/sys/services/restic/default.nix b/sys/services/restic/default.nix
index 77ff40e..c4ab7c3 100644
--- a/sys/services/restic/default.nix
+++ b/sys/services/restic/default.nix
@@ -21,9 +21,9 @@
         "--exclude-if-present .nobackup" # Don't backup directory if it contains a file called ".nobackup"
         "--verbose" # Spam log
       ];
-      passwordFile = config.age.secrets.borgpass.path;
+      passwordFile = config.age.secrets.resticpass.path;
       extraOptions = [
-        "rclone.program='ssh -p 23 ${boxUser}@${boxUser}.your-storagebox.de -i ${config.age.secrets.borgssh.path}'"
+        "rclone.program='ssh -p 23 ${boxUser}@${boxUser}.your-storagebox.de -i ${config.age.secrets.resticssh.path}'"
       ];
       repository = "rclone: "; # There is only one repository served
     };