diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-13 19:10:53 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-13 19:10:53 +0200 |
commit | f3a1652b098bbe33e5ab8a827ff3778b3c2120b8 (patch) | |
tree | 243f5d1e82706ad3d727a26692bd1d53d9373776 /nixos/modules/services/web-apps/tt-rss.nix | |
parent | 561b7b74f8e5783f29bb589482b3ed60ce2c1318 (diff) | |
parent | c0c2f2903f310dd5efb86f02b4b5f824183f5173 (diff) |
Merge branch 'master' into staging-next
Diffstat (limited to 'nixos/modules/services/web-apps/tt-rss.nix')
-rw-r--r-- | nixos/modules/services/web-apps/tt-rss.nix | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/nixos/modules/services/web-apps/tt-rss.nix b/nixos/modules/services/web-apps/tt-rss.nix index 84342165c9c04..9826febb3c66f 100644 --- a/nixos/modules/services/web-apps/tt-rss.nix +++ b/nixos/modules/services/web-apps/tt-rss.nix @@ -123,12 +123,12 @@ let services.tt-rss = { - enable = mkEnableOption (lib.mdDoc "tt-rss"); + enable = mkEnableOption "tt-rss"; root = mkOption { type = types.path; default = "/var/lib/tt-rss"; - description = lib.mdDoc '' + description = '' Root of the application. ''; }; @@ -136,7 +136,7 @@ let user = mkOption { type = types.str; default = "tt_rss"; - description = lib.mdDoc '' + description = '' User account under which both the update daemon and the web-application run. ''; }; @@ -144,7 +144,7 @@ let pool = mkOption { type = types.str; default = "${poolName}"; - description = lib.mdDoc '' + description = '' Name of existing phpfpm pool that is used to run web-application. If not specified a pool will be created automatically with default values. @@ -154,7 +154,7 @@ let virtualHost = mkOption { type = types.nullOr types.str; default = "tt-rss"; - description = lib.mdDoc '' + description = '' Name of the nginx virtualhost to use and setup. If null, do not setup any virtualhost. ''; }; @@ -163,7 +163,7 @@ let type = mkOption { type = types.enum ["pgsql" "mysql"]; default = "pgsql"; - description = lib.mdDoc '' + description = '' Database to store feeds. Supported are pgsql and mysql. ''; }; @@ -171,7 +171,7 @@ let host = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc '' + description = '' Host of the database. Leave null to use Unix domain socket. ''; }; @@ -179,7 +179,7 @@ let name = mkOption { type = types.str; default = "tt_rss"; - description = lib.mdDoc '' + description = '' Name of the existing database. ''; }; @@ -187,7 +187,7 @@ let user = mkOption { type = types.str; default = "tt_rss"; - description = lib.mdDoc '' + description = '' The database user. The user must exist and has access to the specified database. ''; @@ -196,7 +196,7 @@ let password = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc '' + description = '' The database user's password. ''; }; @@ -204,7 +204,7 @@ let passwordFile = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc '' + description = '' The database user's password. ''; }; @@ -212,7 +212,7 @@ let port = mkOption { type = types.nullOr types.port; default = null; - description = lib.mdDoc '' + description = '' The database's port. If not set, the default ports will be provided (5432 and 3306 for pgsql and mysql respectively). ''; @@ -221,7 +221,7 @@ let createLocally = mkOption { type = types.bool; default = true; - description = lib.mdDoc "Create the database and database user locally."; + description = "Create the database and database user locally."; }; }; @@ -229,7 +229,7 @@ let autoCreate = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Allow authentication modules to auto-create users in tt-rss internal database when authenticated successfully. ''; @@ -238,7 +238,7 @@ let autoLogin = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Automatically login user on remote or other kind of externally supplied authentication, otherwise redirect to login form as normal. If set to true, users won't be able to set application language @@ -251,7 +251,7 @@ let hub = mkOption { type = types.str; default = ""; - description = lib.mdDoc '' + description = '' URL to a PubSubHubbub-compatible hub server. If defined, "Published articles" generated feed would automatically become PUSH-enabled. ''; @@ -260,7 +260,7 @@ let enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Enable client PubSubHubbub support in tt-rss. When disabled, tt-rss won't try to subscribe to PUSH feed updates. ''; @@ -271,7 +271,7 @@ let server = mkOption { type = types.str; default = "localhost:9312"; - description = lib.mdDoc '' + description = '' Hostname:port combination for the Sphinx server. ''; }; @@ -279,7 +279,7 @@ let index = mkOption { type = types.listOf types.str; default = ["ttrss" "delta"]; - description = lib.mdDoc '' + description = '' Index names in Sphinx configuration. Example configuration files are available on tt-rss wiki. ''; @@ -290,7 +290,7 @@ let enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Allow users to register themselves. Please be aware that allowing random people to access your tt-rss installation is a security risk and potentially might lead to data loss or server exploit. Disabled @@ -301,7 +301,7 @@ let notifyAddress = mkOption { type = types.str; default = ""; - description = lib.mdDoc '' + description = '' Email address to send new user notifications to. ''; }; @@ -309,7 +309,7 @@ let maxUsers = mkOption { type = types.int; default = 0; - description = lib.mdDoc '' + description = '' Maximum amount of users which will be allowed to register on this system. 0 - no limit. ''; @@ -321,7 +321,7 @@ let type = types.str; default = ""; example = "localhost:25"; - description = lib.mdDoc '' + description = '' Hostname:port combination to send outgoing mail. Blank - use system MTA. ''; @@ -330,7 +330,7 @@ let login = mkOption { type = types.str; default = ""; - description = lib.mdDoc '' + description = '' SMTP authentication login used when sending outgoing mail. ''; }; @@ -338,7 +338,7 @@ let password = mkOption { type = types.str; default = ""; - description = lib.mdDoc '' + description = '' SMTP authentication password used when sending outgoing mail. ''; }; @@ -346,7 +346,7 @@ let security = mkOption { type = types.enum ["" "ssl" "tls"]; default = ""; - description = lib.mdDoc '' + description = '' Used to select a secure SMTP connection. Allowed values: ssl, tls, or empty. ''; @@ -355,7 +355,7 @@ let fromName = mkOption { type = types.str; default = "Tiny Tiny RSS"; - description = lib.mdDoc '' + description = '' Name for sending outgoing mail. This applies to password reset notifications, digest emails and any other mail. ''; @@ -364,7 +364,7 @@ let fromAddress = mkOption { type = types.str; default = ""; - description = lib.mdDoc '' + description = '' Address for sending outgoing mail. This applies to password reset notifications, digest emails and any other mail. ''; @@ -373,7 +373,7 @@ let digestSubject = mkOption { type = types.str; default = "[tt-rss] New headlines for last 24 hours"; - description = lib.mdDoc '' + description = '' Subject line for email digests. ''; }; @@ -382,7 +382,7 @@ let sessionCookieLifetime = mkOption { type = types.int; default = 86400; - description = lib.mdDoc '' + description = '' Default lifetime of a session (e.g. login) cookie. In seconds, 0 means cookie will be deleted when browser closes. ''; @@ -390,7 +390,7 @@ let selfUrlPath = mkOption { type = types.str; - description = lib.mdDoc '' + description = '' Full URL of your tt-rss installation. This should be set to the location of tt-rss directory, e.g. http://example.org/tt-rss/ You need to set this option correctly otherwise several features @@ -402,7 +402,7 @@ let feedCryptKey = mkOption { type = types.str; default = ""; - description = lib.mdDoc '' + description = '' Key used for encryption of passwords for password-protected feeds in the database. A string of 24 random characters. If left blank, encryption is not used. Requires mcrypt functions. @@ -415,7 +415,7 @@ let type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Operate in single user mode, disables all functionality related to multiple users and authentication. Enabling this assumes you have your tt-rss directory protected by other means (e.g. http auth). @@ -425,7 +425,7 @@ let simpleUpdateMode = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Enables fallback update mode where tt-rss tries to update feeds in background while tt-rss is open in your browser. If you don't have a lot of feeds and don't want to or can't run @@ -439,7 +439,7 @@ let forceArticlePurge = mkOption { type = types.int; default = 0; - description = lib.mdDoc '' + description = '' When this option is not 0, users ability to control feed purging intervals is disabled and all articles (which are not starred) older than this amount of days are purged. @@ -449,7 +449,7 @@ let enableGZipOutput = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Selectively gzip output to improve wire performance. This requires PHP Zlib extension on the server. Enabling this can break tt-rss in several httpd/php configurations, @@ -462,7 +462,7 @@ let type = lib.types.package; default = pkgs.php; defaultText = "pkgs.php"; - description = lib.mdDoc '' + description = '' php package to use for php fpm and update daemon. ''; }; @@ -470,7 +470,7 @@ let plugins = mkOption { type = types.listOf types.str; default = ["auth_internal" "note"]; - description = lib.mdDoc '' + description = '' List of plugins to load automatically for all users. System plugins have to be specified here. Please enable at least one authentication plugin here (auth_*). @@ -484,7 +484,7 @@ let pluginPackages = mkOption { type = types.listOf types.package; default = []; - description = lib.mdDoc '' + description = '' List of plugins to install. The list elements are expected to be derivations. All elements in this derivation are automatically copied to the `plugins.local` directory. @@ -494,7 +494,7 @@ let themePackages = mkOption { type = types.listOf types.package; default = []; - description = lib.mdDoc '' + description = '' List of themes to install. The list elements are expected to be derivations. All elements in this derivation are automatically copied to the `themes.local` directory. @@ -504,7 +504,7 @@ let logDestination = mkOption { type = types.enum ["" "sql" "syslog"]; default = "sql"; - description = lib.mdDoc '' + description = '' Log destination to use. Possible values: sql (uses internal logging you can read in Preferences -> System), syslog - logs to system log. Setting this to blank uses PHP logging (usually to http server @@ -515,7 +515,7 @@ let extraConfig = mkOption { type = types.lines; default = ""; - description = lib.mdDoc '' + description = '' Additional lines to append to `config.php`. ''; }; |