diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index 51e90cb813b..0c8cafff9ed 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -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 '' {