mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-08 17:27:22 +08:00
25 lines
552 B
Nix
25 lines
552 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;
|
|
};
|
|
# To clone Juspay repos.
|
|
# https://developer.1password.com/docs/ssh/agent/advanced/#match-key-with-host
|
|
"bitbucket.org" = {
|
|
identitiesOnly = true;
|
|
identityFile = "~/.ssh/juspay.pub";
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|