nix-dotfiles/snippets/ssh.nix

17 lines
410 B
Nix

{
programs.ssh = {
enable = true;
matchBlocks = {
"parc" = {
hostname = "100.105.21.51";
user = "alice";
};
"souligny" = {
hostname = "168.138.90.29";
user = "ubuntu";
identityFile = "~/.ssh/ssh-key-2024-04-12.key"; # supply this manually
};
};
};
}