summary refs log tree commit diff
path: root/nixos/modules/services/backup
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-29 21:48:56 +0200
committerpennae <github@quasiparticle.net>2022-08-31 16:32:14 +0200
commit1013069f52123135cc1d96b2b7d77606a22d3b33 (patch)
treef985c37e7b051d769aefbaf179bbd5bcbb7e507d /nixos/modules/services/backup
parent7d102d113abd84dd29bed71cd589f1c68a7f7f3d (diff)
downloadnixpkgs-1013069f52123135cc1d96b2b7d77606a22d3b33.tar
nixpkgs-1013069f52123135cc1d96b2b7d77606a22d3b33.tar.gz
nixpkgs-1013069f52123135cc1d96b2b7d77606a22d3b33.tar.bz2
nixpkgs-1013069f52123135cc1d96b2b7d77606a22d3b33.tar.lz
nixpkgs-1013069f52123135cc1d96b2b7d77606a22d3b33.tar.xz
nixpkgs-1013069f52123135cc1d96b2b7d77606a22d3b33.tar.zst
nixpkgs-1013069f52123135cc1d96b2b7d77606a22d3b33.zip
nixos/*: convert more partially-md option descriptions
this mostly means marking options that use markdown already
appropriately and making a few adjustments so they still render
correctly. notable for nftables we have to transform the md links
because the manpage would not render them correctly otherwise.
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r--nixos/modules/services/backup/restic.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/backup/restic.nix b/nixos/modules/services/backup/restic.nix
index 2b0dcb16344..65fe34b2d39 100644
--- a/nixos/modules/services/backup/restic.nix
+++ b/nixos/modules/services/backup/restic.nix
@@ -182,11 +182,11 @@ in
         pruneOpts = mkOption {
           type = types.listOf types.str;
           default = [ ];
-          description = ''
-            A list of options (--keep-* et al.) for 'restic forget
+          description = lib.mdDoc ''
+            A list of options (--keep-\* et al.) for 'restic forget
             --prune', to automatically prune old snapshots.  The
             'forget' command is run *after* the 'backup' command, so
-            keep that in mind when constructing the --keep-* options.
+            keep that in mind when constructing the --keep-\* options.
           '';
           example = [
             "--keep-daily 7"