diff --git a/flake.nix b/flake.nix index 445e180..35ee782 100644 --- a/flake.nix +++ b/flake.nix @@ -95,9 +95,8 @@ mkdir -p ${sync.target} photocatalog -source ${sync.source} -target ${sync.target} '' else null; - script = '' - photocatalog -source ${sync.source} -target ${sync.target} -skip-full-sync -watch - ''; + script = photocatalog; + scriptArgs = "-source ${sync.source} -target ${sync.target} -skip-full-sync -watch"; } ) config.photocatalog.syncs; };