diff --git a/flake.nix b/flake.nix index 7873367..f0e6e83 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 = builtins.attrValues config.photocatalog.syncs (sync: + systemd.services = lib.genAttrs (lib.attrValues config.photocatalog.syncs) (sync: { ${sync.name} = { name = "photocatalog_${sync.name}";