From 5de7ba17d80b63e1288f69ec0a91e8fd43715763 Mon Sep 17 00:00:00 2001 From: derfenix Date: Tue, 7 Jan 2025 18:21:45 +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 7a16f1b..f330405 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.genAttrs (lib.attrValues config.photocatalog.syncs) (sync: + systemd.services = lib.mapAttrs config.photocatalog.syncs (_: (sync: { ${sync.source} = { name = "photocatalog_${sync.source}"; @@ -101,7 +101,7 @@ ]; }; } - ); + )); }; };