diff options
author | tv <tv@krebsco.de> | 2016-02-08 12:13:28 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-08 12:15:00 +0100 |
commit | e6ea4875d467f1fbe6f39e1460352bd0d31feaea (patch) | |
tree | 16e4619cc2a8ac13c0fae0543b76187cb57edf8f /krebs/3modules/backup.nix | |
parent | 49ed93662983e67a8bef8641b4d6282e5a59b2f5 (diff) |
krebs.backup: admit plan.startAt
Diffstat (limited to 'krebs/3modules/backup.nix')
-rw-r--r-- | krebs/3modules/backup.nix | 3 |
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)); |