Add extra ports to forward for Freia

This commit is contained in:
Evie Litherland-Smith 2023-09-04 11:16:14 +01:00
parent 71c866e993
commit 75b71199f3

View file

@ -17,25 +17,31 @@ in {
git.userEmail = "evie.litherland-smith@ukaea.uk"; git.userEmail = "evie.litherland-smith@ukaea.uk";
ssh.matchBlocks = { ssh.matchBlocks = {
"git.ccfe.ac.uk" = { user = "git"; }; "git.ccfe.ac.uk" = { user = "git"; };
"jupyter" = { "freia" = {
localForwards = [{ hostname = "freia020.hpc.l";
bind.port = 6702; localForwards = [
host.address = "localhost"; {
host.port = 6702; # Jupyter Lab
}]; bind.port = 6702;
host.address = "localhost";
host.port = 6702;
}
{
# Dash/Plotly
bind.port = 8050;
host.address = "localhost";
host.port = 8050;
}
];
}; };
"freia jupyter" = { hostname = "freia020.hpc.l"; };
"freia???" = lib.hm.dag.entryAfter [ "freia" ] { hostname = "%h.hpc.l"; }; "freia???" = lib.hm.dag.entryAfter [ "freia" ] { hostname = "%h.hpc.l"; };
"heimdall" = { hostname = "heimdall003.jet.uk"; }; "heimdall" = { hostname = "heimdall003.jet.uk"; };
"heimdall???" = "heimdall???" =
lib.hm.dag.entryAfter [ "heimdall" ] { hostname = "%h.jet.uk"; }; lib.hm.dag.entryAfter [ "heimdall" ] { hostname = "%h.jet.uk"; };
"freia* jupyter" = lib.hm.dag.entryAfter [ "freia* heimdall*" =
"jupyter" lib.hm.dag.entryAfter [ "freia" "freia???" "heimdall" "heimdall???" ] {
"freia jupyter" user = "elitherl";
"freia???" };
"heimdall"
"heimdall???"
] { user = "elitherl"; };
}; };
firefox.profiles.default = { firefox.profiles.default = {
settings."browser.startup.homepage" = "https://nucleus.ukaea.uk"; settings."browser.startup.homepage" = "https://nucleus.ukaea.uk";