mirror of
https://github.com/derfenix/photocatalog.git
synced 2026-03-11 11:52:57 +03:00
Update nix flake
This commit is contained in:
14
flake.nix
14
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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user