blob: 8ea967cbbb38efa91129a9a9408e60e4b2a89d96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ fysilib, lib, ... }: {
description = "cgit";
endOfLife = null;
options = {
domain = lib.mkOption {
description = "Domain of cgit instance";
type = fysilib.types.fqdn;
};
repositories = lib.mkOption {
type = fysilib.types.attrsOf (fysilib.types.submodule {
options = {
name = lib.mkOption {
default = null;
type = fysilib.types.pathComponent;
};
description = lib.mkOption {
default = null;
type = fysilib.types.nullOr fysilib.types.str;
};
};
});
};
settings = lib.mkOption {
type = lib.types.attrsOf (lib.types.oneOf [ lib.types.bool lib.types.int lib.types.str ]);
default = { };
};
};
}
|