From 4679085e091b845447d56007c191cb73508a664c Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 6 Sep 2024 11:45:59 +0200 Subject: [PATCH] solve todo --- hive.nix | 5 ++--- modules/ssh-client.nix | 10 +++------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/hive.nix b/hive.nix index 53548a5..f334023 100644 --- a/hive.nix +++ b/hive.nix @@ -100,13 +100,12 @@ in # Import the per-host configuration file. imports = [ ./hosts/${name}/configuration.nix ]; + # local IP: 192.168.178.118 deployment = { # Local deployment. #allowLocalDeployment = true; # SSH deployment. - # TODO: Since some days, yodaHedgehog can only be reached locally even though ports are still opened on the router. - #targetHost = "yodahedgehog.p1st.de"; - targetHost = "192.168.178.118"; + targetHost = "yodahedgehog.p1st.de"; targetPort = 2226; tags = [ "server" ]; diff --git a/modules/ssh-client.nix b/modules/ssh-client.nix index b7dd4d8..f32e004 100644 --- a/modules/ssh-client.nix +++ b/modules/ssh-client.nix @@ -88,23 +88,19 @@ # local IP: 192.168.178.118 "yodaHedgehog" = { - # TODO: Since some days, yodaHedgehog can only be reached locally even though ports are still opened on the router. - #hostname = "yodahedgehog.p1st.de"; - hostname = "192.168.178.118"; + hostname = "yodahedgehog.p1st.de"; user = "yoda"; port = 2226; compression = true; }; "rootHedgehog" = { - #hostname = "yodahedgehog.p1st.de"; - hostname = "192.168.178.118"; + hostname = "yodahedgehog.p1st.de"; user = "root"; port = 2226; compression = true; }; "unlockHedgehog" = { - #hostname = "yodahedgehog.p1st.de"; - hostname = "192.168.178.118"; + hostname = "yodahedgehog.p1st.de"; user = "root"; port = 2227; compression = true;