aboutsummaryrefslogtreecommitdiff
path: root/home/mun/programs/ssh.nix
blob: 8624f2803bf207df00cdb7c4a6d3d4d8eb3b6e06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{...}: {
  programs.ssh = {
    enable = true;
    enableDefaultConfig = false;
    matchBlocks = {
      "*" = {
        addKeysToAgent = "yes";
        forwardAgent = false;
      };
      "cgit" = {
        user = "git";
        hostname = "100.76.17.20";
        identityFile = "~/.ssh/cgit";
      };
    };
  };
}