From 3a3c58719e2c915aed8eaee5442af340e36691ec Mon Sep 17 00:00:00 2001 From: "Agatha V. Lovelace" Date: Fri, 1 Dec 2023 15:56:09 +0100 Subject: [PATCH] Update ssh config --- common/fragments/graphical/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/fragments/graphical/default.nix b/common/fragments/graphical/default.nix index 2bebeea..3f3c4a8 100644 --- a/common/fragments/graphical/default.nix +++ b/common/fragments/graphical/default.nix @@ -147,15 +147,15 @@ "bloodletting" = { hostname = "technogothic.net"; }; "backups" = { - match = ''originalhost backups exec "ip r | rg 10.42.0.0/24"''; + match = ''originalhost backups exec "ip r | rg 10.21.0.0/16"''; hostname = "10.20.1.2"; user = "agatha"; identityFile = [ "~/.ssh/id_ed25519" ]; }; "work" = { - match = ''originalhost work exec "ip r | rg 10.42.0.0/24"''; - hostname = "10.42.0.222"; + match = ''originalhost work exec "ip r | rg 10.21.0.0/16"''; + hostname = "10.21.221.6"; forwardX11 = true; forwardX11Trusted = true; forwardAgent = true; @@ -167,8 +167,8 @@ }; "ritual" = { - match = ''originalhost ritual exec "ip r | rg 10.42.0.0/24"''; - hostname = "10.42.0.104"; + match = ''originalhost ritual exec "ip r | rg 10.21.0.0/16"''; + hostname = "10.21.221.60"; }; };