nixos/gitlab: Set a more appropriate type for extraConfig
This commit is contained in:
parent
58158100f7
commit
9b3ff51c77
|
@ -7,6 +7,7 @@ let
|
||||||
opt = options.services.gitlab;
|
opt = options.services.gitlab;
|
||||||
|
|
||||||
toml = pkgs.formats.toml {};
|
toml = pkgs.formats.toml {};
|
||||||
|
yaml = pkgs.formats.yaml {};
|
||||||
|
|
||||||
ruby = cfg.packages.gitlab.ruby;
|
ruby = cfg.packages.gitlab.ruby;
|
||||||
|
|
||||||
|
@ -907,7 +908,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
type = types.attrs;
|
type = yaml.type;
|
||||||
default = {};
|
default = {};
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue