diff options
Diffstat (limited to 'nixos/modules/services/misc/etebase-server.nix')
-rw-r--r-- | nixos/modules/services/misc/etebase-server.nix | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/nixos/modules/services/misc/etebase-server.nix b/nixos/modules/services/misc/etebase-server.nix index 6ec3807f0fb20..7b6b5249f230c 100644 --- a/nixos/modules/services/misc/etebase-server.nix +++ b/nixos/modules/services/misc/etebase-server.nix @@ -33,7 +33,7 @@ in type = types.bool; default = false; example = true; - description = lib.mdDoc '' + description = '' Whether to enable the Etebase server. Once enabled you need to create an admin user by invoking the @@ -47,25 +47,25 @@ in type = types.package; default = pkgs.python3.pkgs.etebase-server; defaultText = literalExpression "pkgs.python3.pkgs.etebase-server"; - description = lib.mdDoc "etebase-server package to use."; + description = "etebase-server package to use."; }; dataDir = mkOption { type = types.str; default = "/var/lib/etebase-server"; - description = lib.mdDoc "Directory to store the Etebase server data."; + description = "Directory to store the Etebase server data."; }; port = mkOption { type = with types; nullOr port; default = 8001; - description = lib.mdDoc "Port to listen on."; + description = "Port to listen on."; }; openFirewall = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to open ports in the firewall for the server. ''; }; @@ -73,7 +73,7 @@ in unixSocket = mkOption { type = with types; nullOr str; default = null; - description = lib.mdDoc "The path to the socket to bind to."; + description = "The path to the socket to bind to."; example = "/run/etebase-server/etebase-server.sock"; }; @@ -86,14 +86,14 @@ in debug = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to set django's DEBUG flag. ''; }; secret_file = mkOption { type = with types; nullOr str; default = null; - description = lib.mdDoc '' + description = '' The path to a file containing the secret used as django's SECRET_KEY. ''; @@ -102,13 +102,13 @@ in type = types.str; default = "${cfg.dataDir}/static"; defaultText = literalExpression ''"''${config.services.etebase-server.dataDir}/static"''; - description = lib.mdDoc "The directory for static files."; + description = "The directory for static files."; }; media_root = mkOption { type = types.str; default = "${cfg.dataDir}/media"; defaultText = literalExpression ''"''${config.services.etebase-server.dataDir}/media"''; - description = lib.mdDoc "The media directory."; + description = "The media directory."; }; }; allowed_hosts = { @@ -116,7 +116,7 @@ in type = types.str; default = "0.0.0.0"; example = "localhost"; - description = lib.mdDoc '' + description = '' The main host that is allowed access. ''; }; @@ -125,19 +125,19 @@ in engine = mkOption { type = types.enum [ "django.db.backends.sqlite3" "django.db.backends.postgresql" ]; default = "django.db.backends.sqlite3"; - description = lib.mdDoc "The database engine to use."; + description = "The database engine to use."; }; name = mkOption { type = types.str; default = "${cfg.dataDir}/db.sqlite3"; defaultText = literalExpression ''"''${config.services.etebase-server.dataDir}/db.sqlite3"''; - description = lib.mdDoc "The database name."; + description = "The database name."; }; }; }; }; default = {}; - description = lib.mdDoc '' + description = '' Configuration for `etebase-server`. Refer to <https://github.com/etesync/server/blob/master/etebase-server.ini.example> and <https://github.com/etesync/server/wiki> @@ -157,7 +157,7 @@ in user = mkOption { type = types.str; default = defaultUser; - description = lib.mdDoc "User under which Etebase server runs."; + description = "User under which Etebase server runs."; }; }; }; |