From bd2046e865d22828be582427f7540dfcc6baac22 Mon Sep 17 00:00:00 2001 From: sils Date: Sat, 13 Jan 2024 15:29:53 +0100 Subject: (sys/services/restic): add storagebox-admin config This makes maintenance tasks really easy --- sys/services/restic/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sys/services') diff --git a/sys/services/restic/default.nix b/sys/services/restic/default.nix index 2231b2a..09c70a0 100644 --- a/sys/services/restic/default.nix +++ b/sys/services/restic/default.nix @@ -36,5 +36,14 @@ Persistent = true; }; }; + + storagebox-admin = { + passwordFile = config.age.secrets.resticpass.path; + extraOptions = [ + "rclone.program='ssh -p 23 ${boxUser}@${boxUser}.your-storagebox.de'" + ]; + repository = "rclone: "; # There is only one repository served + timerConfig = {}; + }; }; } -- cgit 1.4.1