revise ssh entries
This commit is contained in:
parent
740c89417f
commit
32adb943dc
1 changed files with 11 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.ssh = {
|
||||
|
|
@ -21,6 +21,13 @@
|
|||
hostname = "ai-fe02.srv.aau.dk";
|
||||
user = "hb05nk@cs.aau.dk";
|
||||
identityFile = "~/.ssh/keys/aicloud";
|
||||
proxyJump = "thinkpad";
|
||||
};
|
||||
|
||||
"aicloud.lan" = {
|
||||
hostname = "ai-fe02.srv.aau.dk";
|
||||
user = "hb05nk@cs.aau.dk";
|
||||
identityFile = "~/.ssh/keys/aicloud";
|
||||
};
|
||||
|
||||
"hs" = {
|
||||
|
|
@ -30,7 +37,8 @@
|
|||
setEnv = {
|
||||
TERM = "xterm-256color";
|
||||
};
|
||||
proxyJump = "thinkpad";
|
||||
} // lib.optionalAttrs pkgs.stdenv.isDarwin {
|
||||
proxyJump = "vps";
|
||||
};
|
||||
|
||||
"hs.lan" = {
|
||||
|
|
@ -49,6 +57,7 @@
|
|||
setEnv = {
|
||||
TERM = "xterm-256color";
|
||||
};
|
||||
} // lib.optionalAttrs pkgs.stdenv.isDarwin {
|
||||
proxyJump = "vps";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue