35 lines
725 B
Nix
35 lines
725 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [./common.nix];
|
|
home.packages = with pkgs; [sshfs];
|
|
programs.ssh.matchBlocks = {
|
|
"git.ccfe.ac.uk" = {user = "git";};
|
|
"batch" = {
|
|
user = "cxsbatch";
|
|
hostname = "heimdall115.jetdata.eu";
|
|
};
|
|
"jupyter" = {
|
|
hostname = "freia022.hpc.l";
|
|
localForwards = [
|
|
{
|
|
bind.port = 6702;
|
|
host.address = "localhost";
|
|
host.port = 6702;
|
|
}
|
|
];
|
|
};
|
|
"freia" = {
|
|
hostname = "freia022.hpc.l";
|
|
};
|
|
"freia???" = lib.hm.dag.entryAfter ["freia"] {
|
|
hostname = "%h.hpc.l";
|
|
};
|
|
"freia* jupyter" = lib.hm.dag.entryAfter ["freia" "freia???" "jupyter"] {
|
|
user = "elitherl";
|
|
};
|
|
};
|
|
}
|