Skip to content

Commit

Permalink
Fix backup module test
Browse files Browse the repository at this point in the history
  • Loading branch information
kip93 committed Jul 20, 2024
1 parent cee5d97 commit 839f148
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/backup/default.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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}") ++
Expand Down

0 comments on commit 839f148

Please sign in to comment.