From 6afb255d976f85f3359e4929abd6f5149c323a02 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 13 Apr 2024 14:54:15 +0200 Subject: nixos: remove all uses of lib.mdDoc these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned. --- nixos/modules/services/web-apps/freshrss.nix | 34 ++++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'nixos/modules/services/web-apps/freshrss.nix') diff --git a/nixos/modules/services/web-apps/freshrss.nix b/nixos/modules/services/web-apps/freshrss.nix index edec9d547a305..016c4202e4b3b 100644 --- a/nixos/modules/services/web-apps/freshrss.nix +++ b/nixos/modules/services/web-apps/freshrss.nix @@ -10,34 +10,34 @@ in meta.maintainers = with maintainers; [ etu stunkymonkey mattchrist ]; options.services.freshrss = { - enable = mkEnableOption (mdDoc "FreshRSS feed reader"); + enable = mkEnableOption "FreshRSS feed reader"; package = mkPackageOption pkgs "freshrss" { }; defaultUser = mkOption { type = types.str; default = "admin"; - description = mdDoc "Default username for FreshRSS."; + description = "Default username for FreshRSS."; example = "eva"; }; passwordFile = mkOption { type = types.nullOr types.path; default = null; - description = mdDoc "Password for the defaultUser for FreshRSS."; + description = "Password for the defaultUser for FreshRSS."; example = "/run/secrets/freshrss"; }; baseUrl = mkOption { type = types.str; - description = mdDoc "Default URL for FreshRSS."; + description = "Default URL for FreshRSS."; example = "https://freshrss.example.com"; }; language = mkOption { type = types.str; default = "en"; - description = mdDoc "Default language for FreshRSS."; + description = "Default language for FreshRSS."; example = "de"; }; @@ -45,46 +45,46 @@ in type = mkOption { type = types.enum [ "sqlite" "pgsql" "mysql" ]; default = "sqlite"; - description = mdDoc "Database type."; + description = "Database type."; example = "pgsql"; }; host = mkOption { type = types.nullOr types.str; default = "localhost"; - description = mdDoc "Database host for FreshRSS."; + description = "Database host for FreshRSS."; }; port = mkOption { type = types.nullOr types.port; default = null; - description = mdDoc "Database port for FreshRSS."; + description = "Database port for FreshRSS."; example = 3306; }; user = mkOption { type = types.nullOr types.str; default = "freshrss"; - description = mdDoc "Database user for FreshRSS."; + description = "Database user for FreshRSS."; }; passFile = mkOption { type = types.nullOr types.path; default = null; - description = mdDoc "Database password file for FreshRSS."; + description = "Database password file for FreshRSS."; example = "/run/secrets/freshrss"; }; name = mkOption { type = types.nullOr types.str; default = "freshrss"; - description = mdDoc "Database name for FreshRSS."; + description = "Database name for FreshRSS."; }; tableprefix = mkOption { type = types.nullOr types.str; default = null; - description = mdDoc "Database table prefix for FreshRSS."; + description = "Database table prefix for FreshRSS."; example = "freshrss"; }; }; @@ -92,14 +92,14 @@ in dataDir = mkOption { type = types.str; default = "/var/lib/freshrss"; - description = mdDoc "Default data folder for FreshRSS."; + description = "Default data folder for FreshRSS."; example = "/mnt/freshrss"; }; virtualHost = mkOption { type = types.nullOr types.str; default = "freshrss"; - description = mdDoc '' + description = '' Name of the nginx virtualhost to use and setup. If null, do not setup any virtualhost. ''; }; @@ -107,7 +107,7 @@ in pool = mkOption { type = types.str; default = poolName; - description = mdDoc '' + description = '' Name of the phpfpm pool to use and setup. If not specified, a pool will be created with default values. ''; @@ -116,13 +116,13 @@ in user = mkOption { type = types.str; default = "freshrss"; - description = lib.mdDoc "User under which FreshRSS runs."; + description = "User under which FreshRSS runs."; }; authType = mkOption { type = types.enum [ "form" "http_auth" "none" ]; default = "form"; - description = mdDoc "Authentication type for FreshRSS."; + description = "Authentication type for FreshRSS."; }; }; -- cgit 1.4.1