forked from fabian/nix_config
trivionomicon/modules/nix-registry: initial commit
This commit is contained in:
parent
7daa3d91b3
commit
111d3dabf2
3 changed files with 58 additions and 0 deletions
19
modules/nix-registry/options.nix
Normal file
19
modules/nix-registry/options.nix
Normal file
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue