From a650096cedfb86620a4dc0b19128d7daa3dea0a0 Mon Sep 17 00:00:00 2001 From: derfenix Date: Tue, 7 Jan 2025 20:26:49 +0300 Subject: [PATCH] Update nix flake --- flake.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 6df4bb6..438054e 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; }