nix/modules/home/cli/ssh.nix

23 lines
421 B
Nix
Raw Normal View History

2024-03-09 17:18:36 +01:00
{ pkgs, ... }:
{
programs.ssh = {
enable = true;
matchBlocks = {
archserver = {
hostname = "192.168.1.20";
user = "xeovalyte";
identityFile = "~/.ssh/archserver";
};
2024-03-14 14:07:24 +01:00
"gitea.xeovalyte.dev" = {
2024-03-09 17:18:36 +01:00
hostname = "gitea.xeovalyte.dev";
port = 2222;
user = "git";
identityFile = "~/.ssh/gitea";
};
};
2024-06-25 10:31:41 +02:00
addKeysToAgent = "yes";
2024-03-09 17:18:36 +01:00
};
}