repo options

main
Zynh Ludwig 2024-07-31 23:27:05 -07:00
parent c08d305925
commit b0a3abbd79
1 changed files with 16 additions and 3 deletions

View File

@ -2,9 +2,22 @@
let
inherit (lib)
types;
types mkOption;
in
types.attrsOf (types.submodule ({ ... }: {
options = { };
config = { };
options = {
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
'';
};
};
}))