summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-08 12:13:28 +0100
committertv <tv@krebsco.de>2016-02-08 12:15:00 +0100
commite6ea4875d467f1fbe6f39e1460352bd0d31feaea (patch)
tree16e4619cc2a8ac13c0fae0543b76187cb57edf8f /krebs/3modules
parent49ed93662983e67a8bef8641b4d6282e5a59b2f5 (diff)
krebs.backup: admit plan.startAt
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/backup.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/krebs/3modules/backup.nix b/krebs/3modules/backup.nix
index 86e2e72e2..66a325ed9 100644
--- a/krebs/3modules/backup.nix
+++ b/krebs/3modules/backup.nix
@@ -76,8 +76,7 @@ let
SyslogIdentifier = ExecStart.name;
Type = "oneshot";
};
- } // optionalAttrs (plan.startAt != null) {
- inherit (plan) startAt;
+ startAt = mkIf (plan.startAt != null) plan.startAt;
}) (filter (plan: build-host-is "pull" "dst" plan ||
build-host-is "push" "src" plan)
enabled-plans));