Move ssh alias to ssh program configuration

This commit is contained in:
Bun 2025-05-18 16:53:00 -04:00
parent f00dda831e
commit 1df0e18f7e
2 changed files with 8 additions and 2 deletions

View file

@ -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";
};
};
};
}

View file

@ -7,6 +7,5 @@
# Shortcuts
myip = "curl ifconfig.co";
seneca = "ssh jhampton1@matrix.senecapolytechnic.ca";
};
}