From 2d72ab3ad31cf050b83b824ed6edf0d47f7e7317 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Thu, 10 Sep 2026 19:54:13 +0000 Subject: [PATCH] nixos/coder: add url to Coder configuration reference linked to @main documentation so that link stays hopefully stable --- nixos/modules/services/web-apps/coder.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/web-apps/coder.nix b/nixos/modules/services/web-apps/coder.nix index bdbc7b28bc97..3507da4d1cc2 100644 --- a/nixos/modules/services/web-apps/coder.nix +++ b/nixos/modules/services/web-apps/coder.nix @@ -11,6 +11,7 @@ with lib; let cfg = config.services.coder; name = "coder"; + configRefUrl = "https://coder.com/docs/@main/admin/setup/configuration-reference"; in { options = { @@ -82,7 +83,10 @@ in environment = { extra = mkOption { type = types.attrs; - description = "Extra environment variables to pass run Coder's server with. See Coder documentation."; + description = '' + Extra environment variables to pass run Coder's server with. + See [Coder configuration reference](${configRefUrl}). + ''; default = { }; example = { CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS = true; @@ -91,7 +95,10 @@ in }; file = mkOption { type = types.nullOr types.path; - description = "Systemd environment file to add to Coder."; + description = '' + Systemd environment file to add to Coder. + See [Coder configuration reference](${configRefUrl}). + ''; default = null; }; };