Evie Litherland-Smith
52ff1c36a3
Move root user home-config into home/default.nix so that it's used by all Removed personal/work specific things from root user
31 lines
635 B
Nix
31 lines
635 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [./default.nix];
|
|
home.packages = with pkgs; [sshfs];
|
|
programs.ssh.matchBlocks = {
|
|
"git.ccfe.ac.uk" = {user = "git";};
|
|
"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";
|
|
};
|
|
};
|
|
}
|