Merge pull request #232007 from Janik-Haag/restic

restic: add persistent default for timer unit
This commit is contained in:
Nick Cao 2023-05-15 07:37:51 -06:00 committed by GitHub
commit dde3cb6977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,6 +145,7 @@ in
type = types.attrsOf unitOption;
default = {
OnCalendar = "daily";
Persistent = true;
};
description = lib.mdDoc ''
When to run the backup. See {manpage}`systemd.timer(5)` for details.
@ -152,6 +153,7 @@ in
example = {
OnCalendar = "00:05";
RandomizedDelaySec = "5h";
Persistent = true;
};
};