From 293006546940d2b8dc69e2920c3f18da07ade02f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 11 Apr 2022 07:09:07 -0700 Subject: tahoe: fix backup configuration --- hosts/tahoe/services.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix index 9bd9a35..75a6ee2 100644 --- a/hosts/tahoe/services.nix +++ b/hosts/tahoe/services.nix @@ -1,4 +1,4 @@ -{ ... }: +{ config, ... }: let secrets = config.age.secrets; in { my.services = { @@ -22,8 +22,9 @@ in { transmission = { enable = true; }; metrics-exporter = { enable = true; }; backup = { + enable = true; repository = "/data/slow/backups/systems"; - timerConfig = { oncalendar = "00:15"; }; + timerConfig = { OnCalendar = "00:15"; }; passwordFile = secrets."restic/repo-systems".path; paths = [ "/data/fast/music" "/data/fast/photos" "/data/fast/videos" ]; }; -- cgit 1.4.1