From 9b3ff51c777d51f3aa0f23e3a6c956504ccd2f7e Mon Sep 17 00:00:00 2001 From: talyz Date: Tue, 4 Oct 2022 15:59:56 +0200 Subject: [PATCH] nixos/gitlab: Set a more appropriate type for extraConfig --- nixos/modules/services/misc/gitlab.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 '' {