2024-09-11 12:03:23 +02:00
|
|
|
{ pkgs, lib, config, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
];
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
openssh
|
|
|
|
sshfs
|
|
|
|
];
|
|
|
|
|
|
|
|
services.ssh-agent.enable = true;
|
|
|
|
|
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
compression = true;
|
2024-09-17 18:14:26 +02:00
|
|
|
|
|
|
|
matchBlocks = {
|
2024-09-23 12:54:23 +02:00
|
|
|
"*.pvv.ntnu.no" = {
|
|
|
|
user="adriangl";
|
|
|
|
};
|
2024-09-17 18:14:26 +02:00
|
|
|
"*.ntnu.no !*.pvv.ntnu.no" = {
|
|
|
|
user="adriangl";
|
|
|
|
proxyJump="isvegg.pvv.ntnu.no";
|
|
|
|
};
|
|
|
|
"snotra" = {
|
|
|
|
user="adriangl";
|
2024-09-23 12:54:23 +02:00
|
|
|
proxyJump="adriangl@isvegg.pvv.ntnu.no";
|
|
|
|
hostname="snotra.idi.ntnu.no";
|
2024-09-17 18:14:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#pvv
|
|
|
|
"pvv" = {
|
|
|
|
user="adriangl";
|
2024-09-23 12:54:23 +02:00
|
|
|
hostname="login.pvv.ntnu.no";
|
2024-09-17 18:14:26 +02:00
|
|
|
};
|
|
|
|
"isvegg" = {
|
|
|
|
user="adriangl";
|
2024-09-23 12:54:23 +02:00
|
|
|
hostname="isvegg.pvv.ntnu.no";
|
2024-09-17 18:14:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#home
|
|
|
|
"aragon" = {
|
|
|
|
port = 6969;
|
|
|
|
user="gunalx";
|
2024-09-23 12:54:23 +02:00
|
|
|
hostname="100.74.34.149";
|
2024-09-17 18:14:26 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2024-09-11 12:03:23 +02:00
|
|
|
extraConfig = "";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|