global(fs): make syncoid delete target snapshots

This commit is contained in:
514fpv 2024-06-02 22:19:21 +08:00
parent dc9b2cea0e
commit 4f259776fc
Signed by: koishi
SSH key fingerprint: SHA256:2jRvFSzG5UeUlQ3WxZ2sbUOfo5wNKzv1fZsk/FexKjQ

View file

@ -11,6 +11,7 @@ in mkIf cfg.enable {
commonArgs = [
"--recursive"
"--mbuffer-size=128M"
"--delete-target-snapshots"
"--sshport=${toString cfg.port}"
];
localSourceAllow = mkOptionDefault [ "mount" ];