From 9105aa037f662705d3fb344b396e9353fdfae935 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Mon, 20 Oct 2025 14:36:31 +0200 Subject: [PATCH] change borg backup host --- hosts/nixos/hs/system.nix | 2 +- hosts/nixos/vps/system.nix | 2 +- modules/ssh.nix | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/hs/system.nix b/hosts/nixos/hs/system.nix index 565ff82..09e9ac7 100644 --- a/hosts/nixos/hs/system.nix +++ b/hosts/nixos/hs/system.nix @@ -240,7 +240,7 @@ services.borgbackup-custom = { enable = true; # Use SSH alias from SSH config for remote backup to thinkpad borg server - repositoryUrl = "ssh://borg-backup/./hs"; + repositoryUrl = "ssh://borg-box/./hs"; backupPaths = [ "/home" "/var/lib/containers/config" diff --git a/hosts/nixos/vps/system.nix b/hosts/nixos/vps/system.nix index 2eb320d..e302562 100644 --- a/hosts/nixos/vps/system.nix +++ b/hosts/nixos/vps/system.nix @@ -59,7 +59,7 @@ services.borgbackup-custom = { enable = true; # Use SSH alias from SSH config for remote backup to thinkpad borg server - repositoryUrl = "ssh://borg-backup/./vps"; + repositoryUrl = "ssh://borg-box/./vps"; backupPaths = [ "/home" "/var/lib/containers/config" diff --git a/modules/ssh.nix b/modules/ssh.nix index 6612748..3169691 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -69,6 +69,13 @@ }; }; + "borg-box" = { + hostname = "u501367.your-storagebox.de"; + user = "u501367"; + port = 23; + identityFile = "~/.ssh/keys/hetzner"; + }; + }; }; }