2024-08-01 06:08:41 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib)
|
2024-08-01 06:27:05 +00:00
|
|
|
types mkOption;
|
2024-08-01 06:08:41 +00:00
|
|
|
in
|
|
|
|
types.attrsOf (types.submodule ({ ... }: {
|
2024-08-01 06:27:05 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2024-08-01 06:08:41 +00:00
|
|
|
}))
|