From a3754d901d9c7bd9a97f1d1af673853be427dded Mon Sep 17 00:00:00 2001 From: derfenix Date: Tue, 7 Jan 2025 20:45:36 +0300 Subject: [PATCH] Update nix flake --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c39c77a..fd1d971 100644 --- a/flake.nix +++ b/flake.nix @@ -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" ];