1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{ lib, ... }: let outputsSubmodule = { freeformType = lib.types.lazyAttrsOf lib.types.raw; }; in { options.outputs = lib.mkOption { type = lib.types.submodule outputsSubmodule; default = { }; description = "Outputs to pass to the top-level file."; }; }