nix: update nixos-23.11
[sourcephile-nix.git] / hosts / losurdo / syncoid.nix
index 2e56c03c381ae213d407be3ea6c3be124d78646a..6ace72ef15b9ca006abf6b36ca267cb366c316f4 100644 (file)
@@ -43,13 +43,15 @@ in
     nftables.enable = true;
     interval = "*-*-* *:05:00";
     #interval = "*:0/1";
-    sshKey = "sshKey:${inputs.self}/hosts/${hostName}/syncoid/sshKey.cred";
+    sshKey = "sshKey:${syncoid/sshKey.cred}";
     commonArgs = [
       #"--debug"
       "--no-sync-snap"
       "--create-bookmark"
       #"--no-privilege-elevation"
       #"--no-stream"
+      #"--preserve-recordsize"
+      #"--preserve-properties"
     ];
     service = {
       serviceConfig.Group = groups."disk".name;
@@ -64,6 +66,7 @@ in
       extraArgs = [
         "--skip-parent"
         "--exclude=rpool/var/cache"
+        "--exclude=rpool/var/lib/nginx"
         "--exclude=rpool/var/log"
         "--exclude=rpool/var/tmp"
       ];