Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526272829{ config, lib, ... }: {
_file = "optionTypeFile.nix";
options.theType = lib.mkOption { type = lib.types.optionType; };
options.theOption = lib.mkOption { type = config.theType; default = {}; };
config.theType = lib.mkMerge [ (lib.types.submodule { options.nested = lib.mkOption { type = lib.types.int; }; }) (lib.types.submodule { _file = "other.nix"; options.nested = lib.mkOption { type = lib.types.str; }; }) ];
}