32 lines
776 B
Nix
32 lines
776 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [./default.nix];
|
|
home.packages = with pkgs; [sshfs];
|
|
programs.ssh.matchBlocks = {
|
|
"git.ccfe.ac.uk" = {user = "git";};
|
|
"jupyter" = {
|
|
localForwards = [
|
|
{
|
|
bind.port = 6702;
|
|
host.address = "localhost";
|
|
host.port = 6702;
|
|
}
|
|
];
|
|
};
|
|
"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";};
|
|
};
|
|
}
|