From 839f148f539f61c70debf41e52e115ffbbfcb850 Mon Sep 17 00:00:00 2001 From: Leandro Emmanuel Reina Kiperman Date: Sat, 20 Jul 2024 21:12:05 +0200 Subject: [PATCH] Fix backup module test --- modules/backup/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/backup/default.nix b/modules/backup/default.nix index ab66ca2..146a988 100644 --- a/modules/backup/default.nix +++ b/modules/backup/default.nix @@ -1,5 +1,5 @@ # This file is part of Nix++. -# Copyright (C) 2023 Leandro Emmanuel Reina Kiperman. +# Copyright (C) 2023-2024 Leandro Emmanuel Reina Kiperman. # # Nix++ is free software: you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software @@ -223,6 +223,7 @@ in ]; timerConfig = { OnCalendar = cfg.schedule; }; + runCheck = true; pruneOpts = (lib.optional (cfg.keep.last != null) "--keep-last ${toString cfg.keep.last}") ++ (lib.optional (cfg.keep.hours != null) "--keep-hourly ${toString cfg.keep.hours}") ++