From 6dc06fdd282dcfd1ca46160b196dc2c2676aa86d Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Tue, 19 Jun 2018 18:22:46 +0200 Subject: nixos/pgbackup: rename option period -> startAt --- nixos/modules/services/backup/postgresql-backup.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nixos/modules/services/backup/postgresql-backup.nix') diff --git a/nixos/modules/services/backup/postgresql-backup.nix b/nixos/modules/services/backup/postgresql-backup.nix index 93dcd2f9647..2ec78ce6f2c 100644 --- a/nixos/modules/services/backup/postgresql-backup.nix +++ b/nixos/modules/services/backup/postgresql-backup.nix @@ -34,7 +34,7 @@ let User = "postgres"; }; - startAt = cfg.period; + startAt = cfg.startAt; }; in { @@ -50,10 +50,10 @@ in { ''; }; - period = mkOption { + startAt = mkOption { default = "*-*-* 01:15:00"; description = '' - This option defines (in the format used by systemd.time) when the + This option defines (see systemd.time for format) when the databases should be dumped. The default is to update at 01:15 (at night) every day. ''; -- cgit 1.4.1