Merge pull request #123006 from mweinelt/postgresqlbackup-startat
nixos/postgresqlBackup: allow defining multiple times to start at
commita8f71f069fe0e9d496b60b0a445f93ca2f607269
authorMartin Weinelt <mweinelt@users.noreply.github.com>
dateWed 19 May 2021, 01:54 (6 years ago)
parenta46bf0121746a7
nixos/modules/services/backup/postgresql-backup.nix+1−1
@@ -48,7 +48,7 @@ in {
4848
4949 startAt = mkOption {
5050 default = "*-*-* 01:15:00";
51− type = types.str;
51+ type = with types; either (listOf str) str;
5252 description = ''
5353 This option defines (see <literal>systemd.time</literal> for format) when the
5454 databases should be dumped.