diff options
Diffstat (limited to 'nixos/modules/services/web-apps/lemmy.nix')
-rw-r--r-- | nixos/modules/services/web-apps/lemmy.nix | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/nixos/modules/services/web-apps/lemmy.nix b/nixos/modules/services/web-apps/lemmy.nix index 968dcac93fab0..3185f9a4263c9 100644 --- a/nixos/modules/services/web-apps/lemmy.nix +++ b/nixos/modules/services/web-apps/lemmy.nix @@ -14,7 +14,7 @@ in options.services.lemmy = { - enable = mkEnableOption (lib.mdDoc "lemmy a federated alternative to reddit in rust"); + enable = mkEnableOption "lemmy a federated alternative to reddit in rust"; server = { package = mkPackageOption pkgs "lemmy-server" {}; @@ -26,50 +26,50 @@ in port = mkOption { type = types.port; default = 1234; - description = lib.mdDoc "Port where lemmy-ui should listen for incoming requests."; + description = "Port where lemmy-ui should listen for incoming requests."; }; }; - caddy.enable = mkEnableOption (lib.mdDoc "exposing lemmy with the caddy reverse proxy"); - nginx.enable = mkEnableOption (lib.mdDoc "exposing lemmy with the nginx reverse proxy"); + caddy.enable = mkEnableOption "exposing lemmy with the caddy reverse proxy"; + nginx.enable = mkEnableOption "exposing lemmy with the nginx reverse proxy"; database = { - createLocally = mkEnableOption (lib.mdDoc "creation of database on the instance"); + createLocally = mkEnableOption "creation of database on the instance"; uri = mkOption { type = with types; nullOr str; default = null; - description = lib.mdDoc "The connection URI to use. Takes priority over the configuration file if set."; + description = "The connection URI to use. Takes priority over the configuration file if set."; }; uriFile = mkOption { type = with types; nullOr path; default = null; - description = lib.mdDoc "File which contains the database uri."; + description = "File which contains the database uri."; }; }; pictrsApiKeyFile = mkOption { type = with types; nullOr path; default = null; - description = lib.mdDoc "File which contains the value of `pictrs.api_key`."; + description = "File which contains the value of `pictrs.api_key`."; }; smtpPasswordFile = mkOption { type = with types; nullOr path; default = null; - description = lib.mdDoc "File which contains the value of `email.smtp_password`."; + description = "File which contains the value of `email.smtp_password`."; }; adminPasswordFile = mkOption { type = with types; nullOr path; default = null; - description = lib.mdDoc "File which contains the value of `setup.admin_password`."; + description = "File which contains the value of `setup.admin_password`."; }; settings = mkOption { default = { }; - description = lib.mdDoc "Lemmy configuration"; + description = "Lemmy configuration"; type = types.submodule { freeformType = settingsFormat.type; @@ -77,25 +77,25 @@ in options.hostname = mkOption { type = types.str; default = null; - description = lib.mdDoc "The domain name of your instance (eg 'lemmy.ml')."; + description = "The domain name of your instance (eg 'lemmy.ml')."; }; options.port = mkOption { type = types.port; default = 8536; - description = lib.mdDoc "Port where lemmy should listen for incoming requests."; + description = "Port where lemmy should listen for incoming requests."; }; options.captcha = { enabled = mkOption { type = types.bool; default = true; - description = lib.mdDoc "Enable Captcha."; + description = "Enable Captcha."; }; difficulty = mkOption { type = types.enum [ "easy" "medium" "hard" ]; default = "medium"; - description = lib.mdDoc "The difficultly of the captcha to solve."; + description = "The difficultly of the captcha to solve."; }; }; }; |