mirror of
https://github.com/derfenix/photocatalog.git
synced 2026-03-11 20:46:24 +03:00
Update nix flake
This commit is contained in:
@@ -91,13 +91,13 @@
|
|||||||
path = [
|
path = [
|
||||||
pkgs.photocatalog
|
pkgs.photocatalog
|
||||||
];
|
];
|
||||||
preStart = if !sync.skipFullSync then """
|
preStart = if !sync.skipFullSync then ''
|
||||||
mkdir -p ${sync.target}
|
mkdir -p ${sync.target}
|
||||||
photocatalog -source ${sync.source} -target ${sync.target}
|
photocatalog -source ${sync.source} -target ${sync.target}
|
||||||
""" else null;
|
'' else null;
|
||||||
script = """
|
script = ''
|
||||||
photocatalog -source ${sync.source} -target ${sync.target} -skip-full-sync -watch
|
photocatalog -source ${sync.source} -target ${sync.target} -skip-full-sync -watch
|
||||||
""";
|
'';
|
||||||
}
|
}
|
||||||
) config.photocatalog.syncs;
|
) config.photocatalog.syncs;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user