diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/nextcloud.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/nextcloud.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/nextcloud.nix b/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/nextcloud.nix index ce7125bf5a83..7808c8861a76 100644 --- a/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/nextcloud.nix +++ b/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters/nextcloud.nix @@ -11,16 +11,16 @@ in url = mkOption { type = types.str; example = "https://domain.tld"; - description = '' + description = lib.mdDoc '' URL to the Nextcloud serverinfo page. Adding the path to the serverinfo API is optional, it defaults - to <literal>/ocs/v2.php/apps/serverinfo/api/v1/info</literal>. + to `/ocs/v2.php/apps/serverinfo/api/v1/info`. ''; }; username = mkOption { type = types.str; default = "nextcloud-exporter"; - description = '' + description = lib.mdDoc '' Username for connecting to Nextcloud. Note that this account needs to have admin privileges in Nextcloud. ''; @@ -28,7 +28,7 @@ in passwordFile = mkOption { type = types.path; example = "/path/to/password-file"; - description = '' + description = lib.mdDoc '' File containing the password for connecting to Nextcloud. Make sure that this file is readable by the exporter user. ''; @@ -36,7 +36,7 @@ in timeout = mkOption { type = types.str; default = "5s"; - description = '' + description = lib.mdDoc '' Timeout for getting server info document. ''; }; |