summaryrefslogtreecommitdiff
path: root/trivionomicon/modules/nix-registry/options.nix
diff options
context:
space:
mode:
Diffstat (limited to 'trivionomicon/modules/nix-registry/options.nix')
-rw-r--r--trivionomicon/modules/nix-registry/options.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/trivionomicon/modules/nix-registry/options.nix b/trivionomicon/modules/nix-registry/options.nix
new file mode 100644
index 0000000..e8898ec
--- /dev/null
+++ b/trivionomicon/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";
+ };
+ };
+}