nixos/home/ssh/work.nix
Evie Litherland-Smith 52ff1c36a3 Delete root user config per machine as it's common to all
Move root user home-config into home/default.nix so that it's used by all
Removed personal/work specific things from root user
2023-05-31 10:54:57 +01:00

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";
};
};
}