backup terranix matrix

This commit is contained in:
Ingolf Wagner 2024-04-04 22:24:48 +02:00
parent febb509b10
commit 2f16220104
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 9 additions and 7 deletions

View file

@ -130,7 +130,7 @@ in
hostNames = [ hostNames = [
"orbi.${network}" "orbi.${network}"
hosts.orbi hosts.orbi
"robi" "orbi"
"95.216.66.212" "95.216.66.212"
]; ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICTqV5ch4BokqDniDgCquRwfTz6aXXMTdZovIvqShfLV"; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICTqV5ch4BokqDniDgCquRwfTz6aXXMTdZovIvqShfLV";

View file

@ -23,12 +23,11 @@
src = "root@robi:/var/lib/bitwarden_rs/"; src = "root@robi:/var/lib/bitwarden_rs/";
dst = "/mirror/bitwarden_rs"; dst = "/mirror/bitwarden_rs";
}; };
#torrent = { matrix-terranix = {
# sshKeyPath = config.sops.secrets.rsync_private_key.path; sshKeyPath = config.sops.secrets.rsync_private_key.path;
# src = "root@robi:/media/torrent/downloads/"; src = "root@orbi:/var/lib/nixos-containers/matrix-terranix";
# dst = "/media/torrent"; dst = "/mirror/matrix-terranix";
# startAt = "00/5:00"; # every 5 hours };
#};
radarr = { radarr = {
sshKeyPath = config.sops.secrets.rsync_private_key.path; sshKeyPath = config.sops.secrets.rsync_private_key.path;

View file

@ -64,4 +64,7 @@
sops.defaultSopsFile = ../../secrets/orbi.yaml; sops.defaultSopsFile = ../../secrets/orbi.yaml;
# chungus rsync
users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJkqVvuJSvRMO5pG2CHNNBxjB7HlJudK4TQs3BhbOWOD" ];
} }