carotte: apply git-crypt
[sourcephile-nix.git] / hosts / mermet / nginx.nix
index be7d5ca4189e6449ce325f1c460f7c532949280f..3cfc00a4849dc019cd452d9161968d9e2961f627 100644 (file)
@@ -34,12 +34,15 @@ in
       useACMEHost = networking.domain;
     };
   };
-  fileSystems."/var/lib/nginx" = {
-    device = "rpool/var/www";
+  /*
+    fileSystems."/var/lib/nginx" = {
+    device = "rpool/var/lib/nginx";
     fsType = "zfs";
-  };
-  services.sanoid.datasets."rpool/var/www" = {
+    };
+  */
+  services.sanoid.datasets."rpool/var/lib/nginx" = {
     use_template = [ "snap" ];
     daily = 7;
+    recursive = true;
   };
 }