diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-30 14:49:57 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-30 14:49:57 +0100 |
commit | 55cd742f61cda5efcdd6f0eca213d621710360d1 (patch) | |
tree | 41ee55378331d7dfc59b2761808996aae58c8f5f | |
parent | c57e9bece047218d9b54715b1f7f58d6e4409811 (diff) | |
download | nixos-55cd742f61cda5efcdd6f0eca213d621710360d1.tar nixos-55cd742f61cda5efcdd6f0eca213d621710360d1.tar.gz nixos-55cd742f61cda5efcdd6f0eca213d621710360d1.tar.bz2 nixos-55cd742f61cda5efcdd6f0eca213d621710360d1.tar.xz nixos-55cd742f61cda5efcdd6f0eca213d621710360d1.zip |
...
-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 | } | ||