summaryrefslogtreecommitdiff
path: root/trivionomicon/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
commit497ece9fd0cbbf6247769a93380dc045feedbb2d (patch)
tree23b8801c50708d6174ba29440f1b87e2747400ad /trivionomicon/modules/nix-registry/options.nix
parente0b7f36b173f38aa523df4ed71eeb439cc376bca (diff)
trivionomicon/modules/nix-registry: initial commit
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";
+ };
+ };
+}