mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos/postgresqlBackup: allow defining multiple times to start at
Or … none! Because forcing a string always results in an OnCalender= setting, but an empty string leads to an empty value. > postgresqlBackup-hass.timer: Timer unit lacks value setting. Refusing. or > postgresqlBackup-miniflux.timer: Cannot add dependency job, ignoring: Unit postgresqlBackup-miniflux.timer has a bad unit file setting. I require the postgresqlBackup in my borgbackup unit, so I don't strictly need the timer and could previously set it to an empty list.
This commit is contained in:
parent
2f06be9f99
commit
21746a7c80
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ in {
|
|||
|
||||
startAt = mkOption {
|
||||
default = "*-*-* 01:15:00";
|
||||
type = types.str;
|
||||
type = with types; either (listOf str) str;
|
||||
description = ''
|
||||
This option defines (see <literal>systemd.time</literal> for format) when the
|
||||
databases should be dumped.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue