From 25124556397ba17bfd70297000270de1e6523b0a Mon Sep 17 00:00:00 2001 From: pennae Date: Fri, 26 Nov 2021 01:16:05 +0100 Subject: nixos/*: add trivial defaultText for options with simple defaults --- nixos/modules/services/misc/gitlab.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nixos/modules/services/misc/gitlab.nix') diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index b2abe70627d0d..01a7ea42d9db4 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -475,6 +475,7 @@ in { host = mkOption { type = types.str; default = config.networking.hostName; + defaultText = literalExpression "config.networking.hostName"; description = "GitLab host name. Used e.g. for copy-paste URLs."; }; @@ -534,6 +535,7 @@ in { host = mkOption { type = types.str; default = config.services.gitlab.host; + defaultText = literalExpression "config.services.gitlab.host"; description = "GitLab container registry host name."; }; port = mkOption { -- cgit 1.4.1