add borg client to thinkpad

This commit is contained in:
Yan Lin 2025-12-13 11:13:51 +01:00
parent cb21d0068d
commit 092626b754
3 changed files with 28 additions and 24 deletions

View file

@ -30,15 +30,6 @@
identityFile = "~/Credentials/ssh_keys/aicloud";
};
"hs" = {
hostname = "hs.yanlincs.com";
user = "yanlin";
identityFile = "~/Credentials/ssh_keys/nas";
setEnv = {
TERM = "xterm-256color";
};
};
"thinkpad" = {
hostname = "thinkpad.yanlincs.com";
user = "yanlin";
@ -54,11 +45,11 @@
identityFile = "~/Credentials/ssh_keys/hetzner";
};
"borg-server" = {
hostname = "thinkpad.yanlincs.com";
user = "borg";
identityFile = "~/Credentials/ssh_keys/thinkpad";
proxyJump = "vps";
"borg-box" = {
hostname = "u518619.your-storagebox.de";
user = "u518619";
port = 23;
identityFile = "~/Credentials/ssh_keys/hetzner";
};
};

View file

@ -22,7 +22,7 @@ let
stignoreContent = lib.concatStringsSep "\n" commonIgnores;
# Device groupings
pcDevices = [ "macbook" "imac" "hs" "thinkpad" ];
pcDevices = [ "macbook" "imac" "thinkpad" ];
touchDevices = [ "iphone" "ipad" ];
allDevices = pcDevices ++ touchDevices;
@ -69,9 +69,6 @@ in
"iphone" = {
id = "NMWI5MP-J4FC4A6-SDDXZPD-G66TJCO-2W7KGFD-RJWQ53U-I7GUVWP-WHF4QQO";
};
"hs" = {
id = "GH5D3DJ-PAGKBL6-3VDZJRT-QG4ZMRD-GHCCA3Y-HM2H5CE-NAMJYRR-VHLOOQH";
};
"thinkpad" = {
id = "OMZKASU-QPZDCQ2-7QRHRD4-3TPAXLM-AYRMWXB-A6E5OIZ-MGR422V-JYARQA6";
};