From 1597a646715c57cb175f2cb969d9d487f31e9298 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 6 Sep 2023 08:13:13 +0100 Subject: [PATCH] Add port forwarding to heimdall as well --- hosts/Ronin/home.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index 4e4b3e16..66a67582 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -35,7 +35,23 @@ in { ]; }; "freia???" = lib.hm.dag.entryAfter [ "freia" ] { hostname = "%h.hpc.l"; }; - "heimdall" = { hostname = "heimdall003.jet.uk"; }; + "heimdall" = { + hostname = "heimdall003.jet.uk"; + localForwards = [ + { + # Jupyter Lab + bind.port = 6703; + host.address = "localhost"; + host.port = 6702; + } + { + # Dash/Plotly + bind.port = 8051; + host.address = "localhost"; + host.port = 8050; + } + ]; + }; "heimdall???" = lib.hm.dag.entryAfter [ "heimdall" ] { hostname = "%h.jet.uk"; }; "freia* heimdall*" =