Update nix flake

This commit is contained in:
2025-01-07 20:26:49 +03:00
parent bd32223557
commit a650096ced

View File

@@ -88,13 +88,13 @@
{
name = "photocatalog_${lib.replaceChars ["/"] ["-"] sync.source}";
after = [ "local-fs.target" ];
# path = [
# pkgs.photocatalog
# ];
preStart = if !sync.skipFullSync then ''
mkdir -p ${sync.target}
photocatalog -source ${sync.source} -target ${sync.target}
'' else null;
path = [
pkgs.photocatalog
];
# preStart = if !sync.skipFullSync then ''
# mkdir -p ${sync.target}
# photocatalog -source ${sync.source} -target ${sync.target}
# '' else null;
script = "photocatalog";
scriptArgs = "-source ${sync.source} -target ${sync.target} -skip-full-sync -watch";
}