repo options

This commit is contained in:
Zynh Ludwig 2024-07-31 23:27:05 -07:00
parent c08d305925
commit b0a3abbd79

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
'';
};
};
}))