Skip to content

Commit

Permalink
services.mysqlBackup: apply markdown to description
Browse files Browse the repository at this point in the history
Co-authored-by: Silvan Mosberger <github@infinisil.com>
  • Loading branch information
6543 and infinisil committed Jan 12, 2025
1 parent 085ebf0 commit 710b189
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nixos/modules/services/backup/mysql-backup.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,13 @@ in
Compression level to use for ${lib.concatStringsSep ", " (lib.init (lib.attrNames compressionAlgs))} or ${lib.last (lib.attrNames compressionAlgs)}.
${lib.concatStringsSep "\n" (
lib.mapAttrsToList (
name: algo: " For ${name}: ${toString algo.minLevel}-${toString algo.maxLevel}"
name: algo: "- For ${name}: ${toString algo.minLevel}-${toString algo.maxLevel}"
) compressionAlgs
)}
(note: if compression level is also specified in gzipOptions, the gzipOptions value will be overwritten)
:::{.note}
If compression level is also specified in gzipOptions, the gzipOptions value will be overwritten
:::
'';
};

Expand Down

0 comments on commit 710b189

Please sign in to comment.