diff options
Diffstat (limited to 'modules/nix-registry/options.nix')
| -rw-r--r-- | modules/nix-registry/options.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/nix-registry/options.nix b/modules/nix-registry/options.nix new file mode 100644 index 0000000..e8898ec --- /dev/null +++ b/modules/nix-registry/options.nix @@ -0,0 +1,19 @@ +{lib, ...}: +with lib.types; { + hm = { + allInputs = mkOption { + type = bool; + default = default; + description = '' + Include all flake inputs. If false, only 'nixpkgs' and 'unstable' + (if available) will be added to the flake registry by default. + ''; + }; + + renameSelf = mkOption { + type = nullOr str; + default = "self"; + description = "Registry name to use for the 'self' input"; + }; + }; +} |
