nixos-config/home/ssh.nix
Sridhar Ratnakumar 23d4d205ad ssh: add immediacy
2024-04-03 10:52:20 +11:00

29 lines
646 B
Nix

{ pkgs, lib, ... }:
{
programs.ssh = {
enable = true;
matchBlocks = {
vanjaram = {
hostname = "100.83.79.127";
user = "srid";
forwardAgent = true;
};
biryani = {
hostname = "100.97.32.60";
user = "admin";
forwardAgent = true;
};
immediacy = {
hostname = "65.109.84.215";
forwardAgent = true;
};
# To clone Juspay repos.
# https://developer.1password.com/docs/ssh/agent/advanced/#match-key-with-host
"bitbucket.org" = {
identitiesOnly = true;
identityFile = "~/.ssh/juspay.pub";
};
};
};
}