nix-config/home/ssh.nix

30 lines
No EOL
628 B
Nix

{ config, age, ... }:
{
programs.ssh = {
enable = true;
matchBlocks = {
"1bvps" = {
host = "1bvps";
hostname = "178.254.43.196";
identityFile = [ "/home/rhea/.ssh/id_1bvps" ];
};
"gcd-etwas" = {
host = "gcd-etwas";
hostname = "git.catgirl.dog";
identityFile = [ "/home/rhea/.ssh/id_gcd_etwas" ];
user = "git";
port = 222;
};
"gh-etwas" = {
host = "gh-etwas";
hostname = "github.com";
identityFile = [ "/home/rhea/.ssh/id_gh_etwas" ];
user = "git";
port = 22;
};
};
};
}