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";
ssh.matchBlocks = {
"git.ccfe.ac.uk" = { user = "git"; };
"jupyter" = {
localForwards = [{
"freia" = {
hostname = "freia020.hpc.l";
localForwards = [
{
# 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"; };
"heimdall" = { hostname = "heimdall003.jet.uk"; };
"heimdall???" =
lib.hm.dag.entryAfter [ "heimdall" ] { hostname = "%h.jet.uk"; };
"freia* jupyter" = lib.hm.dag.entryAfter [
"jupyter"
"freia jupyter"
"freia???"
"heimdall"
"heimdall???"
] { user = "elitherl"; };
"freia* heimdall*" =
lib.hm.dag.entryAfter [ "freia" "freia???" "heimdall" "heimdall???" ] {
user = "elitherl";
};
};
firefox.profiles.default = {
settings."browser.startup.homepage" = "https://nucleus.ukaea.uk";