forked from Bun/nixos-config
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";
|
addKeysToAgent = "yes";
|
||||||
compression = true;
|
compression = true;
|
||||||
matchBlocks = with lib.hm.dag; {
|
matchBlocks = with lib.hm.dag; {
|
||||||
|
# Personal servers
|
||||||
nixfox = {
|
nixfox = {
|
||||||
host = "*.nixfox.ca";
|
match = ''canonical host "*.nixfox.ca"'';
|
||||||
user = config.home.username;
|
user = config.home.username;
|
||||||
};
|
};
|
||||||
midas = entryAfter [ "nixfox" ] {
|
midas = entryAfter [ "nixfox" ] {
|
||||||
|
@ -19,6 +20,12 @@
|
||||||
prophet = entryAfter [ "nixfox" ] {
|
prophet = entryAfter [ "nixfox" ] {
|
||||||
hostname = "mx.nixfox.ca";
|
hostname = "mx.nixfox.ca";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
seneca = {
|
||||||
|
hostname = "matrix.senecapolytechnic.ca";
|
||||||
|
user = "jhampton1";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,5 @@
|
||||||
|
|
||||||
# Shortcuts
|
# Shortcuts
|
||||||
myip = "curl ifconfig.co";
|
myip = "curl ifconfig.co";
|
||||||
seneca = "ssh jhampton1@matrix.senecapolytechnic.ca";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue