2023-05-05 13:29:39 +01:00
|
|
|
{
|
2023-05-17 17:10:18 +01:00
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [./common.nix];
|
|
|
|
home.packages = with pkgs; [sshfs];
|
2023-05-05 13:29:39 +01:00
|
|
|
programs.ssh.matchBlocks = {
|
2023-05-25 17:05:25 +01:00
|
|
|
"git.ccfe.ac.uk" = {user = "git";};
|
2023-05-05 13:29:39 +01:00
|
|
|
"jupyter" = {
|
|
|
|
hostname = "freia022.hpc.l";
|
|
|
|
localForwards = [
|
|
|
|
{
|
|
|
|
bind.port = 6702;
|
|
|
|
host.address = "localhost";
|
|
|
|
host.port = 6702;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
"freia" = {
|
|
|
|
hostname = "freia022.hpc.l";
|
|
|
|
};
|
2023-05-17 17:10:18 +01:00
|
|
|
"freia???" = lib.hm.dag.entryAfter ["freia"] {
|
2023-05-05 13:29:39 +01:00
|
|
|
hostname = "%h.hpc.l";
|
|
|
|
};
|
2023-05-17 17:10:18 +01:00
|
|
|
"freia* jupyter" = lib.hm.dag.entryAfter ["freia" "freia???" "jupyter"] {
|
2023-05-05 13:29:39 +01:00
|
|
|
user = "elitherl";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|