From ae55a0b71a8d00062186715bd6739ee091510d3b Mon Sep 17 00:00:00 2001 From: derfenix Date: Tue, 7 Jan 2025 18:24:56 +0300 Subject: [PATCH] Update nix flake --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 8bea284..9e31ef2 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 (config.photocatalog.syncs _: sync: + systemd.services = lib.mapAttrs (_: sync: { ${sync.source} = { name = "photocatalog_${sync.source}"; @@ -101,7 +101,7 @@ ]; }; } - ); + ) config.photocatalog.syncs; }; };