summary refs log tree commit diff
path: root/nixos/modules/services/misc/gitea.nix
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-30 14:18:54 +0200
committerpennae <github@quasiparticle.net>2022-08-31 17:27:38 +0200
commit1d41cff3dc4c8f37bb5841f51fcbff705e169178 (patch)
tree333442286eac74633ee79693b341575d448cb10a /nixos/modules/services/misc/gitea.nix
parente04a09082e33d444c245e1d5859b37ace25f54a9 (diff)
downloadnixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.gz
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.bz2
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.lz
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.xz
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.zst
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.zip
nixos/*: convert straggler options to MD
Diffstat (limited to 'nixos/modules/services/misc/gitea.nix')
-rw-r--r--nixos/modules/services/misc/gitea.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/misc/gitea.nix b/nixos/modules/services/misc/gitea.nix
index f96b4fb6dd5..d9dece3343f 100644
--- a/nixos/modules/services/misc/gitea.nix
+++ b/nixos/modules/services/misc/gitea.nix
@@ -322,14 +322,14 @@ in
             };
 
             service = {
-              DISABLE_REGISTRATION = mkEnableOption "the registration lock" // {
-                description = ''
-                  By default any user can create an account on this <literal>gitea</literal> instance.
+              DISABLE_REGISTRATION = mkEnableOption (lib.mdDoc "the registration lock") // {
+                description = lib.mdDoc ''
+                  By default any user can create an account on this `gitea` instance.
                   This can be disabled by using this option.
 
-                  <emphasis>Note:</emphasis> please keep in mind that this should be added after the initial
-                  deploy unless <link linkend="opt-services.gitea.useWizard">services.gitea.useWizard</link>
-                  is <literal>true</literal> as the first registered user will be the administrator if
+                  *Note:* please keep in mind that this should be added after the initial
+                  deploy unless [](#opt-services.gitea.useWizard)
+                  is `true` as the first registered user will be the administrator if
                   no install wizard is used.
                 '';
               };