mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
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.
This commit is contained in:
parent
1dd996e59a
commit
6afb255d97
1701 changed files with 13694 additions and 13865 deletions
|
@ -71,12 +71,12 @@ in {
|
|||
|
||||
options = {
|
||||
services.postgresqlBackup = {
|
||||
enable = mkEnableOption (lib.mdDoc "PostgreSQL dumps");
|
||||
enable = mkEnableOption "PostgreSQL dumps";
|
||||
|
||||
startAt = mkOption {
|
||||
default = "*-*-* 01:15:00";
|
||||
type = with types; either (listOf str) str;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
This option defines (see `systemd.time` for format) when the
|
||||
databases should be dumped.
|
||||
The default is to update at 01:15 (at night) every day.
|
||||
|
@ -87,7 +87,7 @@ in {
|
|||
default = cfg.databases == [];
|
||||
defaultText = literalExpression "services.postgresqlBackup.databases == []";
|
||||
type = lib.types.bool;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Backup all databases using pg_dumpall.
|
||||
This option is mutual exclusive to
|
||||
`services.postgresqlBackup.databases`.
|
||||
|
@ -99,7 +99,7 @@ in {
|
|||
databases = mkOption {
|
||||
default = [];
|
||||
type = types.listOf types.str;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
List of database names to dump.
|
||||
'';
|
||||
};
|
||||
|
@ -107,7 +107,7 @@ in {
|
|||
location = mkOption {
|
||||
default = "/var/backup/postgresql";
|
||||
type = types.path;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Path of directory where the PostgreSQL database dumps will be placed.
|
||||
'';
|
||||
};
|
||||
|
@ -115,7 +115,7 @@ in {
|
|||
pgdumpOptions = mkOption {
|
||||
type = types.separatedString " ";
|
||||
default = "-C";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Command line options for pg_dump. This options is not used
|
||||
if `config.services.postgresqlBackup.backupAll` is enabled.
|
||||
Note that config.services.postgresqlBackup.backupAll is also active,
|
||||
|
@ -126,7 +126,7 @@ in {
|
|||
compression = mkOption {
|
||||
type = types.enum ["none" "gzip" "zstd"];
|
||||
default = "gzip";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
The type of compression to use on the generated database dump.
|
||||
'';
|
||||
};
|
||||
|
@ -134,7 +134,7 @@ in {
|
|||
compressionLevel = mkOption {
|
||||
type = types.ints.between 1 19;
|
||||
default = 6;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
The compression level used when compression is enabled.
|
||||
gzip accepts levels 1 to 9. zstd accepts levels 1 to 19.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue