···8585 modules = [ ];
8686 specialArgs = { };
8787 };
8888+ defaultText = ''
8989+ class: {
9090+ modules = [ ];
9191+ specialArgs = { };
9292+ };
9393+ '';
88948995 type = types.functionTo (
9096 types.submodule {
···131137 nixpkgs = mkOption {
132138 type = types.anything;
133139 default = inputs.nixpkgs or (throw "cannot find nixpkgs input");
134134- example = literalExpression "inputs.nixpkgs";
135135- description = "The nixpkgs to be used for the host";
140140+ defaultText = literalExpression "inputs.nixpkgs";
141141+ example = literalExpression "inputs.nixpkgs-unstable";
142142+ description = "The nixpkgs flake to be used for the host";
136143 };
137144138145 nix-darwin = mkOption {
139146 type = types.anything;
140147 default = inputs.darwin or inputs.nix-darwin or null;
141141- example = literalExpression "inputs.nix-darwin";
142142- description = "The nix-darwin to be used for the host";
148148+ defaultText = literalExpression "inputs.darwin or inputs.nix-darwin";
149149+ example = literalExpression "inputs.my-nix-darwin";
150150+ description = "The nix-darwin flake to be used for the host";
143151 };
144152145153 # keep this up to date with