Move ssh alias to ssh program configuration
This commit is contained in:
parent
f00dda831e
commit
1df0e18f7e
2 changed files with 8 additions and 2 deletions
|
@ -5,8 +5,9 @@
|
|||
addKeysToAgent = "yes";
|
||||
compression = true;
|
||||
matchBlocks = with lib.hm.dag; {
|
||||
# Personal servers
|
||||
nixfox = {
|
||||
host = "*.nixfox.ca";
|
||||
match = ''canonical host "*.nixfox.ca"'';
|
||||
user = config.home.username;
|
||||
};
|
||||
midas = entryAfter [ "nixfox" ] {
|
||||
|
@ -19,6 +20,12 @@
|
|||
prophet = entryAfter [ "nixfox" ] {
|
||||
hostname = "mx.nixfox.ca";
|
||||
};
|
||||
|
||||
# Misc
|
||||
seneca = {
|
||||
hostname = "matrix.senecapolytechnic.ca";
|
||||
user = "jhampton1";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,6 +7,5 @@
|
|||
|
||||
# Shortcuts
|
||||
myip = "curl ifconfig.co";
|
||||
seneca = "ssh jhampton1@matrix.senecapolytechnic.ca";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue