repo options
This commit is contained in:
parent
c08d305925
commit
b0a3abbd79
1 changed files with 16 additions and 3 deletions
19
repo.nix
19
repo.nix
|
@ -2,9 +2,22 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
types;
|
types mkOption;
|
||||||
in
|
in
|
||||||
types.attrsOf (types.submodule ({ ... }: {
|
types.attrsOf (types.submodule ({ ... }: {
|
||||||
options = { };
|
options = {
|
||||||
config = { };
|
url = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
description = ''
|
||||||
|
Url of git repo to clone
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
extraArgs = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
description = ''
|
||||||
|
Args to be used with the `git clone` command
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in a new issue