about summary refs log tree commit diff
path: root/nixos/modules/services/backup
diff options
context:
space:
mode:
authorRobin Stumm <serverkorken@gmail.com>2017-05-15 15:09:50 +0200
committerRobin Stumm <serverkorken@gmail.com>2017-05-15 15:09:50 +0200
commit72e50645a36264ab2ead636c6f547109879f78a2 (patch)
tree61fd01e6374ef27b8590aeb77ca8e8eb66110df5 /nixos/modules/services/backup
parenta35ec5dda688f6eedbb281671ee11261c769610e (diff)
downloadnixlib-72e50645a36264ab2ead636c6f547109879f78a2.tar
nixlib-72e50645a36264ab2ead636c6f547109879f78a2.tar.gz
nixlib-72e50645a36264ab2ead636c6f547109879f78a2.tar.bz2
nixlib-72e50645a36264ab2ead636c6f547109879f78a2.tar.lz
nixlib-72e50645a36264ab2ead636c6f547109879f78a2.tar.xz
nixlib-72e50645a36264ab2ead636c6f547109879f78a2.tar.zst
nixlib-72e50645a36264ab2ead636c6f547109879f78a2.zip
znapzend service: fix autostart
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r--nixos/modules/services/backup/znapzend.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/backup/znapzend.nix b/nixos/modules/services/backup/znapzend.nix
index 35c0308c9dc8..a980ac1b3b03 100644
--- a/nixos/modules/services/backup/znapzend.nix
+++ b/nixos/modules/services/backup/znapzend.nix
@@ -18,6 +18,7 @@ in
     systemd.services = {
       "znapzend" = {
         description = "ZnapZend - ZFS Backup System";
+        wantedBy    = [ "zfs.target" ];
         after       = [ "zfs.target" ];
 
         path = with pkgs; [ zfs mbuffer openssh ];
@@ -28,6 +29,5 @@ in
         };
       };
     };
-
   };
 }