17 lines
395 B
Nix
17 lines
395 B
Nix
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
compression = true;
|
|
matchBlocks = {
|
|
"students" = {
|
|
hostname = "students.gctaa.net";
|
|
user = "arabach";
|
|
port = 22;
|
|
extraOptions = { "PreferredAuthentications" = "publickey"; };
|
|
};
|
|
};
|
|
extraOptionOverrides = {
|
|
"Match" = ''host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"'';
|
|
};
|
|
};
|
|
}
|