From 55cd742f61cda5efcdd6f0eca213d621710360d1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 30 Jan 2022 14:49:57 +0100 Subject: ... --- accounts/gkleen@sif/ssh-hosts.nix | 10 ++++++++++ accounts/root@vidhar.nix | 12 ++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 accounts/root@vidhar.nix 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 @@ proxyJump = "mathw0e"; user = "root"; }; + "vrt-kvm02" = + { hostname = "vrt-kvm02"; + proxyJump = "mathw0e"; + user = "root"; + }; "tts-www01" = { hostname = "tts-www01.mathinst.loc"; proxyJump = "mathw0h"; @@ -386,4 +391,9 @@ "webdev02-mwn.lrz.de" = { proxyCommand = "${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118"; }; + "yggdrasil.borgbase" = + { hostname = "jifm96kk.repo.borgbase.com"; + user = "jifm96kk"; + identityFile = "~/.ssh/borgbase"; + }; } 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 @@ +{ userName, ... }: +{ + home-manager.users.${userName} = { + programs.ssh.matchBlocks = { + "yggdrasil.borgbase" = + { hostname = "jifm96kk.repo.borgbase.com"; + user = "jifm96kk"; + identityFile = "~/.ssh/append.borgbase"; + }; + }; + }; +} -- cgit v1.2.3