Move ssh config to home/ssh.nix
This commit is contained in:
parent
113127e7aa
commit
a6b0c7264f
@ -204,39 +204,7 @@
|
||||
enable = true;
|
||||
settings.email = "jacob.hinkle@gmail.com";
|
||||
};
|
||||
ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
login1 = {
|
||||
hostname = "login1.ornl.gov";
|
||||
user = "4jh";
|
||||
};
|
||||
lucky = {
|
||||
hostname = "lucky.ornl.gov";
|
||||
user = "4jh";
|
||||
proxyJump = "login1";
|
||||
};
|
||||
murdock = {
|
||||
hostname = "murdock.ornl.gov";
|
||||
user = "4jh";
|
||||
proxyJump = "login1";
|
||||
};
|
||||
penny = {
|
||||
hostname = "192.168.88.18";
|
||||
user = "jhinkle";
|
||||
};
|
||||
dlcluster = {
|
||||
hostname = "dlcluster.nvidia.com";
|
||||
user = "jhinkle";
|
||||
proxyJump = "penny";
|
||||
};
|
||||
router ={
|
||||
hostname = "192.168.88.1";
|
||||
user = "jacob";
|
||||
port = 2200;
|
||||
};
|
||||
};
|
||||
};
|
||||
ssh = import ./ssh.nix;
|
||||
tmux = import ./tmux.nix;
|
||||
xmobar = {
|
||||
enable = true;
|
||||
|
||||
34
home/ssh.nix
Normal file
34
home/ssh.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
login1 = {
|
||||
hostname = "login1.ornl.gov";
|
||||
user = "4jh";
|
||||
};
|
||||
lucky = {
|
||||
hostname = "lucky.ornl.gov";
|
||||
user = "4jh";
|
||||
proxyJump = "login1";
|
||||
};
|
||||
murdock = {
|
||||
hostname = "murdock.ornl.gov";
|
||||
user = "4jh";
|
||||
proxyJump = "login1";
|
||||
};
|
||||
penny = {
|
||||
#hostname = "192.168.88.18";
|
||||
hostname = "192.168.88.13";
|
||||
user = "jhinkle";
|
||||
};
|
||||
dlcluster = {
|
||||
hostname = "dlcluster.nvidia.com";
|
||||
user = "jhinkle";
|
||||
proxyJump = "penny";
|
||||
};
|
||||
router ={
|
||||
hostname = "192.168.88.1";
|
||||
user = "jacob";
|
||||
port = 2200;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user