summaryrefslogtreecommitdiff
path: root/modules/nix-registry/options.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-08-24 18:49:47 -0600
committerAlejandro Soto <alejandro@34project.org>2025-08-24 18:49:47 -0600
commitad0d5742383568e96295702ca640fb1303ee71e0 (patch)
treec10e983325e548cf2ed4709627b763948413f535 /modules/nix-registry/options.nix
parenta2fd86d4828870cc030282b419982c6bcce3ac90 (diff)
trivionomicon/modules/nix-registry: initial commit
Diffstat (limited to 'modules/nix-registry/options.nix')
-rw-r--r--modules/nix-registry/options.nix19
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";
+ };
+ };
+}