nixos/gitlab: Set a more appropriate type for extraConfig

This commit is contained in:
talyz 2022-10-04 15:59:56 +02:00 committed by Yureka
parent 58158100f7
commit 9b3ff51c77

View file

@ -7,6 +7,7 @@ let
opt = options.services.gitlab;
toml = pkgs.formats.toml {};
yaml = pkgs.formats.yaml {};
ruby = cfg.packages.gitlab.ruby;
@ -907,7 +908,7 @@ in {
};
extraConfig = mkOption {
type = types.attrs;
type = yaml.type;
default = {};
example = literalExpression ''
{