diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/web-apps/mobilizon.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/web-apps/mobilizon.nix | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/nixpkgs/nixos/modules/services/web-apps/mobilizon.nix b/nixpkgs/nixos/modules/services/web-apps/mobilizon.nix index bdb08f613149..b7fad7f3066e 100644 --- a/nixpkgs/nixos/modules/services/web-apps/mobilizon.nix +++ b/nixpkgs/nixos/modules/services/web-apps/mobilizon.nix @@ -59,13 +59,12 @@ in { options = { services.mobilizon = { - enable = mkEnableOption - (lib.mdDoc "Mobilizon federated organization and mobilization platform"); + enable = mkEnableOption "Mobilizon federated organization and mobilization platform"; nginx.enable = lib.mkOption { type = lib.types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether an Nginx virtual host should be set up to serve Mobilizon. ''; @@ -90,7 +89,7 @@ in defaultText = lib.literalMD '' ''${settings.":mobilizon".":instance".hostname} ''; - description = lib.mdDoc '' + description = '' Your instance's hostname for generating URLs throughout the app ''; }; @@ -99,14 +98,14 @@ in port = mkOption { type = elixirTypes.port; default = 4000; - description = lib.mdDoc '' + description = '' The port to run the server ''; }; ip = mkOption { type = elixirTypes.tuple; default = settingsFormat.lib.mkTuple [ 0 0 0 0 0 0 0 1 ]; - description = lib.mdDoc '' + description = '' The IP address to listen on. Defaults to [::1] notated as a byte tuple. ''; }; @@ -115,7 +114,7 @@ in has_reverse_proxy = mkOption { type = elixirTypes.bool; default = true; - description = lib.mdDoc '' + description = '' Whether you use a reverse proxy ''; }; @@ -124,14 +123,14 @@ in ":instance" = { name = mkOption { type = elixirTypes.str; - description = lib.mdDoc '' + description = '' The fallback instance name if not configured into the admin UI ''; }; hostname = mkOption { type = elixirTypes.str; - description = lib.mdDoc '' + description = '' Your instance's hostname ''; }; @@ -141,7 +140,7 @@ in defaultText = literalExpression '' noreply@''${settings.":mobilizon".":instance".hostname} ''; - description = lib.mdDoc '' + description = '' The email for the From: header in emails ''; }; @@ -151,7 +150,7 @@ in defaultText = literalExpression '' ''${email_from} ''; - description = lib.mdDoc '' + description = '' The email for the Reply-To: header in emails ''; }; @@ -161,7 +160,7 @@ in socket_dir = mkOption { type = types.nullOr elixirTypes.str; default = postgresqlSocketDir; - description = lib.mdDoc '' + description = '' Path to the postgres socket directory. Set this to null if you want to connect to a remote database. @@ -178,7 +177,7 @@ in username = mkOption { type = types.nullOr elixirTypes.str; default = user; - description = lib.mdDoc '' + description = '' User used to connect to the database ''; }; @@ -186,7 +185,7 @@ in database = mkOption { type = types.nullOr elixirTypes.str; default = "mobilizon_prod"; - description = lib.mdDoc '' + description = '' Name of the database ''; }; @@ -196,7 +195,7 @@ in }; default = { }; - description = lib.mdDoc '' + description = '' Mobilizon Elixir documentation, see <https://docs.joinmobilizon.org/administration/configure/reference/> for supported values. |