Update nix flake

This commit is contained in:
2025-01-07 20:45:36 +03:00
parent 471f17e546
commit a3754d901d

View File

@@ -84,7 +84,7 @@
config = lib.mkIf config.photocatalog.enable {
environment.systemPackages = [ self.packages.${pkgs.system}.photocatalog ];
systemd.services = lib.mapAttrs (_: sync:
systemd.services = lib.mapAttrs' (name: sync: nameValuePair (lib.replaceStrings ["/"] ["-"] sync.source)
{
name = "photocatalog_${lib.replaceStrings ["/"] ["-"] sync.source}";
after = [ "local-fs.target" ];