# Flake module that declares flake.templates outputs and how to merge it { lib, flake-parts-lib, ... }: let inherit (lib) mkOption types; inherit (flake-parts-lib) mkSubmoduleOptions; in { options = { flake = mkSubmoduleOptions { templates = mkOption { type = types.lazyAttrsOf types.unspecified; default = {}; description = '' Templates that will be put in the self flake. ''; }; }; }; }