add helsinki-box as borg target

This commit is contained in:
Yan Lin 2026-02-15 08:47:07 +01:00
parent 541106db2c
commit da0a52a018
4 changed files with 10 additions and 16 deletions

View file

@ -150,7 +150,7 @@
# Borg backup configuration
services.borg-client-custom = {
enable = false;
repositoryUrl = "ssh://nfss@thinkpad/./";
repositoryUrl = "ssh://helsinki-box/./nfss";
backupPaths = [
];
backupFrequency = "*-*-* 01:00:00";

View file

@ -8,7 +8,6 @@
../../../modules/podman.nix
../../../modules/vpn/tailscale.nix
../../../modules/borg/client.nix
../../../modules/borg/server.nix
];
# Bootloader - standard UEFI setup
@ -191,21 +190,9 @@
services.tailscale-custom.exitNode = true;
services.borg-server-custom = {
enable = true;
users = {
nfss.publicKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICp2goZiuSfwMA02GsHhYzUZHrQPPBgP5sWSNP9kQR3e yanlin@imac"
];
vps.publicKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICp2goZiuSfwMA02GsHhYzUZHrQPPBgP5sWSNP9kQR3e yanlin@imac"
];
};
};
services.borg-client-custom = {
enable = true;
repositoryUrl = "ssh://borg-box/./thinkpad";
repositoryUrl = "ssh://helsinki-box/./thinkpad";
backupPaths = [
"/home/yanlin/Archive"
"/home/yanlin/Credentials"

View file

@ -75,7 +75,7 @@
# Borg backup configuration
services.borg-client-custom = {
enable = true;
repositoryUrl = "ssh://vps@thinkpad/./";
repositoryUrl = "ssh://helsinki-box/./vps";
backupPaths = [
"/var/lib/mongodb"
];

View file

@ -58,6 +58,13 @@ in
identityFile = "${keyDir}/hetzner";
};
"helsinki-box" = {
hostname = "u546684.your-storagebox.de";
user = "u546684";
port = 23;
identityFile = "${keyDir}/hetzner";
};
"rpi" = {
hostname = "100.117.162.102";
user = "yanlin";