Update nix flake

This commit is contained in:
2025-01-07 18:27:55 +03:00
parent 66a198cf91
commit 08feb65d86

View File

@@ -91,13 +91,13 @@
path = [
self.packages.${pkgs.system}.photocatalog
];
preStart = lib.mkIf (!sync.skipFullSync) [
"mkdir -p ${sync.target}"
"photocatalog -source ${sync.source} -target ${sync.target}"
];
script = [
"photocatalog -source ${sync.source} -target ${sync.target} -skip-full-sync -watch"
];
preStart = lib.mkIf (!sync.skipFullSync) """
mkdir -p ${sync.target}
photocatalog -source ${sync.source} -target ${sync.target}
""";
script = """
photocatalog -source ${sync.source} -target ${sync.target} -skip-full-sync -watch
""";
}
) config.photocatalog.syncs;
};