From 0dff06916786ef0d2fc3a4b20d089a148c2975dc Mon Sep 17 00:00:00 2001 From: Jan Grosser Date: Sun, 26 May 2024 00:37:01 +0200 Subject: [PATCH] ssh config, i.e. ssh bastion hosts --- hosts/p14s/home.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/hosts/p14s/home.nix b/hosts/p14s/home.nix index 021e676..2cb5443 100644 --- a/hosts/p14s/home.nix +++ b/hosts/p14s/home.nix @@ -96,6 +96,25 @@ # Update the font cache fonts.fontconfig.enable = true; + # SSH + programs.ssh = { + enable = true; + matchBlocks = { + messaging = { + hostname = "messaging"; + proxyJump = "ssh-hopper@home.plueschbit.de"; + }; + gemcap = { + hostname = "messaging"; + proxyJump = "ssh-hopper@home.plueschbit.de"; + }; + satdb = { + hostname = "messaging"; + proxyJump = "ssh-hopper@home.plueschbit.de"; + }; + }; + }; + # ZSH programs.zsh = { enable = true;