From 4ee3e8b21dfeaf236b86a0c109953dd809a77e64 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 10 Dec 2019 02:51:19 +0100 Subject: nixos/treewide: Move rename.nix imports to their respective modules A centralized list for these renames is not good because: - It breaks disabledModules for modules that have a rename defined - Adding/removing renames for a module means having to find them in the central file - Merge conflicts due to multiple people editing the central file --- nixos/modules/services/backup/postgresql-backup.nix | 7 +++++++ 1 file changed, 7 insertions(+) (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 13a36ae32ac0..e768d1b9918a 100644 --- a/nixos/modules/services/backup/postgresql-backup.nix +++ b/nixos/modules/services/backup/postgresql-backup.nix @@ -35,6 +35,13 @@ let in { + imports = [ + (mkRemovedOptionModule [ "services" "postgresqlBackup" "period" ] '' + A systemd timer is now used instead of cron. + The starting time can be configured via services.postgresqlBackup.startAt. + '') + ]; + options = { services.postgresqlBackup = { enable = mkOption { -- cgit 1.4.1