35 lines
766 B
Nix
35 lines
766 B
Nix
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
enableDefaultConfig = false;
|
|
|
|
includes = [
|
|
"~/Documents/admin-tasks.wiki/ssh-config"
|
|
];
|
|
|
|
settings = {
|
|
"Host *".ServerAliveInterval = 60;
|
|
|
|
"Host pihole" = {
|
|
HostName = "192.168.178.5";
|
|
User = "rocky";
|
|
PubkeyAuthentication = "yes";
|
|
IdentityFile = "~/.ssh/id_ed25519";
|
|
};
|
|
|
|
"Host naswalliser" = {
|
|
HostName = "192.168.178.10";
|
|
User = "moritz";
|
|
PubkeyAuthentication = "yes";
|
|
IdentityFile = "~/.ssh/id_ed25519";
|
|
};
|
|
|
|
"Host mail-test-hetzner" = {
|
|
HostName = "159.69.148.50";
|
|
User = "moritz";
|
|
PubkeyAuthentication = "yes";
|
|
IdentityFile = "~/.ssh/id_ed25519";
|
|
};
|
|
};
|
|
};
|
|
}
|