diff options
-rw-r--r-- | hosts/tahoe/secrets/rsync.net/ssh-key.age | bin | 0 -> 906 bytes | |||
-rw-r--r-- | hosts/tahoe/secrets/secrets.nix | 2 | ||||
-rw-r--r-- | hosts/tahoe/services.nix | 7 |
3 files changed, 9 insertions, 0 deletions
diff --git a/hosts/tahoe/secrets/rsync.net/ssh-key.age b/hosts/tahoe/secrets/rsync.net/ssh-key.age new file mode 100644 index 0000000..d7c721a --- /dev/null +++ b/hosts/tahoe/secrets/rsync.net/ssh-key.age Binary files differdiff --git a/hosts/tahoe/secrets/secrets.nix b/hosts/tahoe/secrets/secrets.nix index f68b410..4325195 100644 --- a/hosts/tahoe/secrets/secrets.nix +++ b/hosts/tahoe/secrets/secrets.nix @@ -29,6 +29,8 @@ in }; "restic/repo-systems.age".publicKeys = all; + "rsync.net/ssh-key.age".publicKeys = all; + "rclone/config.ini.age".publicKeys = all; "rclone/gcs_service_account.json.age".publicKeys = all; diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix index 26ce9f6..a04225e 100644 --- a/hosts/tahoe/services.nix +++ b/hosts/tahoe/services.nix @@ -68,6 +68,13 @@ in exclude = [ ]; }; + backup.rsync = { + enable = true; + timerConfig = { OnCalendar = "00:15"; }; + sourceDir = "/data/slow/backups/"; + destination = "de2664@de2664.rsync.net:backups/"; + }; + sendsms.enable = true; }; |