summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2022-10-04 15:59:56 +0200
committerYureka <yuka@yuka.dev>2022-10-09 08:12:19 +0200
commit9b3ff51c777d51f3aa0f23e3a6c956504ccd2f7e (patch)
treeea094d620f7a1ad0418f26d37dc113c0fcfbd663 /nixos
parent58158100f766214a9493ca32afc6e8bfc6c8b10e (diff)
nixos/gitlab: Set a more appropriate type for extraConfig
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/misc/gitlab.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix
index 51e90cb813b76..0c8cafff9ed50 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 ''
           {