From 8a23ad9774ce671082ecb71c4aaef00028bddbcd Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 4 Feb 2025 18:54:10 +0100 Subject: [PATCH] Clean up SSH config, update changed IP addresses --- home-manager/modules/ssh/default.nix | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/home-manager/modules/ssh/default.nix b/home-manager/modules/ssh/default.nix index 3ce601b..51bb7b2 100644 --- a/home-manager/modules/ssh/default.nix +++ b/home-manager/modules/ssh/default.nix @@ -28,24 +28,6 @@ in SetEnv = "TERM=xterm-256color"; }; }; - home = mkIf (!var.workSystem) { - host = "home"; - hostname = "10.0.0.2"; - extraOptions = { - ControlMaster = "auto"; - ControlPersist = "5m"; - }; - }; - - horus = mkIf (!var.workSystem) { - host = "horus"; - hostname = "10.1.0.2"; - proxyJump = "home"; - extraOptions = { - ControlMaster = "auto"; - ControlPersist = "5m"; - }; - }; "rsync.net" = mkIf (!var.workSystem) { hostname = "zh2088.rsync.net"; @@ -54,14 +36,11 @@ in }; "git.datarift.nl" = { - # hostname = "gitea.barn-beaver.ts.net"; - # port = 2222; - hostname = "10.0.0.203"; identityFile = personalKey; }; hass = { - hostname = "10.0.0.254"; + hostname = "10.9.0.254"; user = "root"; identityFile = "~/.ssh/id_ed25519"; extraOptions = { @@ -71,7 +50,7 @@ in }; horus-vpn = { - hostname = "192.168.4.202"; + hostname = "10.0.0.175"; identityFile = horusKey; forwardAgent = true; };