summaryrefslogtreecommitdiff
path: root/trivionomicon/modules/nix-registry/options.nix
blob: e8898ec3706dbaaf494e822519f8a8279e3d3a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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";
    };
  };
}