Commit dfad51eea0f0

Vincent Demeester <vincent@sbr.pm>
2019-03-15 13:42:50
honshu: enable tarsnap service…
… starting with documents for now Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 8c42ef2
Changed files (1)
machine
machine/honshu.nix
@@ -16,6 +16,16 @@ with import ../assets/machines.nix; {
   };
   services = {
     logind.extraConfig = "HandleLidSwitch=ignore";
+    tarsnap = {
+      enable = true;
+      archives = {
+        documents = {
+          directories = [ "/home/vincent/desktop/documents" ];
+          period = "daily";
+          keyfile = "/etc/nixos/assets/tarsnap.documents.key";
+        };
+      };
+    };
     syncthing-edge.guiAddress = "${wireguard.ips.honshu}:8384";
     wireguard = {
       enable = true;