From 08feb65d86d48288ed7f1e8d5ffae97f093278c3 Mon Sep 17 00:00:00 2001 From: derfenix Date: Tue, 7 Jan 2025 18:27:55 +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 01071ba..7beebd5 100644 --- a/flake.nix +++ b/flake.nix @@ -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; };