Update nix flake

This commit is contained in:
2025-01-07 20:26:27 +03:00
parent 7793eb9dec
commit bd32223557

View File

@@ -87,10 +87,10 @@
systemd.services = lib.mapAttrs (_: sync:
{
name = "photocatalog_${lib.replaceChars ["/"] ["-"] sync.source}";
# after = [ "local-fs.target" ];
path = [
pkgs.photocatalog
];
after = [ "local-fs.target" ];
# path = [
# pkgs.photocatalog
# ];
preStart = if !sync.skipFullSync then ''
mkdir -p ${sync.target}
photocatalog -source ${sync.source} -target ${sync.target}