diff --git a/hosts/nixos/hs/system.nix b/hosts/nixos/hs/system.nix index d23317b..a5fafa5 100644 --- a/hosts/nixos/hs/system.nix +++ b/hosts/nixos/hs/system.nix @@ -223,7 +223,7 @@ services.borg-client-custom = { enable = true; # Use SSH alias from SSH config for remote backup to thinkpad borg server - repositoryUrl = "ssh://borg-box/./hs"; + repositoryUrl = "ssh://hs@borg-thinkpad/./hs"; backupPaths = [ "/mnt/storage/appbulk/immich/library/" "/mnt/storage/Media/DCIM" diff --git a/modules/ssh.nix b/modules/ssh.nix index d72e5ff..6d9aea1 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -61,6 +61,11 @@ identityFile = "~/.ssh/keys/hetzner"; }; + "borg-thinkpad" = { + hostname = "vpn.thinkpad.yanlincs.com"; + identityFile = "~/.ssh/keys/thinkpad"; + }; + }; }; }