diff options
-rw-r--r-- | accounts/gkleen@sif/ssh-hosts.nix | 10 | ||||
-rw-r--r-- | accounts/root@vidhar.nix | 12 |
2 files changed, 22 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index 938e5af7..cda534c9 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix | |||
@@ -342,6 +342,11 @@ | |||
342 | proxyJump = "mathw0e"; | 342 | proxyJump = "mathw0e"; |
343 | user = "root"; | 343 | user = "root"; |
344 | }; | 344 | }; |
345 | "vrt-kvm02" = | ||
346 | { hostname = "vrt-kvm02"; | ||
347 | proxyJump = "mathw0e"; | ||
348 | user = "root"; | ||
349 | }; | ||
345 | "tts-www01" = | 350 | "tts-www01" = |
346 | { hostname = "tts-www01.mathinst.loc"; | 351 | { hostname = "tts-www01.mathinst.loc"; |
347 | proxyJump = "mathw0h"; | 352 | proxyJump = "mathw0h"; |
@@ -386,4 +391,9 @@ | |||
386 | "webdev02-mwn.lrz.de" = | 391 | "webdev02-mwn.lrz.de" = |
387 | { proxyCommand = "${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118"; | 392 | { proxyCommand = "${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118"; |
388 | }; | 393 | }; |
394 | "yggdrasil.borgbase" = | ||
395 | { hostname = "jifm96kk.repo.borgbase.com"; | ||
396 | user = "jifm96kk"; | ||
397 | identityFile = "~/.ssh/borgbase"; | ||
398 | }; | ||
389 | } | 399 | } |
diff --git a/accounts/root@vidhar.nix b/accounts/root@vidhar.nix new file mode 100644 index 00000000..cca5a21b --- /dev/null +++ b/accounts/root@vidhar.nix | |||
@@ -0,0 +1,12 @@ | |||
1 | { userName, ... }: | ||
2 | { | ||
3 | home-manager.users.${userName} = { | ||
4 | programs.ssh.matchBlocks = { | ||
5 | "yggdrasil.borgbase" = | ||
6 | { hostname = "jifm96kk.repo.borgbase.com"; | ||
7 | user = "jifm96kk"; | ||
8 | identityFile = "~/.ssh/append.borgbase"; | ||
9 | }; | ||
10 | }; | ||
11 | }; | ||
12 | } | ||