···85 modules = [ ];
86 specialArgs = { };
87 };
0000008889 type = types.functionTo (
90 types.submodule {
···131 nixpkgs = mkOption {
132 type = types.anything;
133 default = inputs.nixpkgs or (throw "cannot find nixpkgs input");
134- example = literalExpression "inputs.nixpkgs";
135- description = "The nixpkgs to be used for the host";
0136 };
137138 nix-darwin = mkOption {
139 type = types.anything;
140 default = inputs.darwin or inputs.nix-darwin or null;
141- example = literalExpression "inputs.nix-darwin";
142- description = "The nix-darwin to be used for the host";
0143 };
144145 # keep this up to date with
···85 modules = [ ];
86 specialArgs = { };
87 };
88+ defaultText = ''
89+ class: {
90+ modules = [ ];
91+ specialArgs = { };
92+ };
93+ '';
9495 type = types.functionTo (
96 types.submodule {
···137 nixpkgs = mkOption {
138 type = types.anything;
139 default = inputs.nixpkgs or (throw "cannot find nixpkgs input");
140+ defaultText = literalExpression "inputs.nixpkgs";
141+ example = literalExpression "inputs.nixpkgs-unstable";
142+ description = "The nixpkgs flake to be used for the host";
143 };
144145 nix-darwin = mkOption {
146 type = types.anything;
147 default = inputs.darwin or inputs.nix-darwin or null;
148+ defaultText = literalExpression "inputs.darwin or inputs.nix-darwin";
149+ example = literalExpression "inputs.my-nix-darwin";
150+ description = "The nix-darwin flake to be used for the host";
151 };
152153 # keep this up to date with