summary refs log tree commit diff stats
path: root/system/secrets/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2024-01-06 20:55:56 +0100
committersils <sils@sils.li>2024-01-07 23:18:04 +0100
commitbba959118a19dad0a062f837f0dcad76fb497ec2 (patch)
tree9b684fede90ffa00f21b805485e07dbe72b8d33c /system/secrets/default.nix
parentfeat(system/secrets): rename .tix files to .age (diff)
downloadnixos-server-bba959118a19dad0a062f837f0dcad76fb497ec2.tar.gz
nixos-server-bba959118a19dad0a062f837f0dcad76fb497ec2.zip
feat(system): add restic
Diffstat (limited to 'system/secrets/default.nix')
-rw-r--r--system/secrets/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/secrets/default.nix b/system/secrets/default.nix
index 41e4eeb..624f530 100644
--- a/system/secrets/default.nix
+++ b/system/secrets/default.nix
@@ -43,6 +43,18 @@
         owner = "etebase-server";
         group = "etebase-server";
       };
+      resticssh = {
+        file = ./backup/backupssh.age;
+        mode = "0700";
+        owner = "root";
+        group = "root";
+      };
+      resticpass = {
+        file = ./backup/backuppass.age;
+        mode = "0700";
+        owner = "root";
+        group = "root";
+      };
     };
   };
 }