33 lines
772 B
Nix
33 lines
772 B
Nix
{...}: {
|
|
programs.ssh.knownHosts = {
|
|
everest = {
|
|
hostNames = [
|
|
"everest.tailscale"
|
|
"toast003.xyz"
|
|
];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAqfABZKnF5YYGZTOKuT7m+sOnUqBQSvLke9c3JDsF5s";
|
|
};
|
|
};
|
|
|
|
home-manager.users.toast = {
|
|
programs.ssh = {
|
|
enable = true;
|
|
enableDefaultConfig = false;
|
|
matchBlocks = {
|
|
"everest" = {
|
|
host = "toast003.xyz";
|
|
hostname = "toast003.xyz";
|
|
forwardAgent = true;
|
|
sendEnv = ["COLORTERM"];
|
|
port = 69;
|
|
};
|
|
"everest-tailscale" = {
|
|
host = "everest";
|
|
hostname = "everest.tailscale";
|
|
forwardAgent = true;
|
|
sendEnv = ["COLORTERM"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|