modules/tarsnap: document timestamp format

This commit is contained in:
Lorenzo Manacorda 2021-01-10 16:44:12 +02:00
parent 9f8b7cb4a8
commit b6356c6e2e

@ -29,13 +29,7 @@ in
options = {
services.tarsnap = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Enable periodic tarsnap backups.
'';
};
enable = mkEnableOption "periodic tarsnap backups";
keyfile = mkOption {
type = types.str;
@ -279,7 +273,8 @@ in
Tarsnap archive configurations. Each attribute names an archive
to be created at a given time interval, according to the options
associated with it. When uploading to the tarsnap server,
archive names are suffixed by a 1 second resolution timestamp.
archive names are suffixed by a 1 second resolution timestamp,
with the format <literal>%Y%m%d%H%M%S</literal>.
For each member of the set is created a timer which triggers the
instanced <literal>tarsnap-archive-name</literal> service unit. You may use