diff options
author | sils <sils@sils.li> | 2024-01-13 15:29:53 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2024-01-13 15:29:53 +0100 |
commit | bd2046e865d22828be582427f7540dfcc6baac22 (patch) | |
tree | b689a82ade818dda544f3911f68dc9e7ef8cb943 /sys | |
parent | (sys/services/restic): add timerConfig (diff) | |
download | nix-config-bd2046e865d22828be582427f7540dfcc6baac22.tar.gz nix-config-bd2046e865d22828be582427f7540dfcc6baac22.zip |
(sys/services/restic): add storagebox-admin config
This makes maintenance tasks really easy
Diffstat (limited to '')
-rw-r--r-- | sys/services/restic/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
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 = {}; + }; }; } |