From c4354805e5c1ffe14724935fb52caa4425dbbe59 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 2 Dec 2025 02:29:32 +0100 Subject: [PATCH] switch borg repo to thinkpad --- hosts/nixos/hs/system.nix | 2 +- modules/ssh.nix | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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"; + }; + }; }; }