aboutsummaryrefslogtreecommitdiff
path: root/home/mun/programs/ssh.nix
blob: 173f0fd354a3927ca5078db27a6784c8db06ace4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{...}: {
  programs.ssh = {
    enable = true;
    enableDefaultConfig = false;
    matchBlocks = {
      "*" = {
        addKeysToAgent = "no";
        forwardAgent = false;
      };
      "apollo" = {
        user = "root";
        hostname = "100.97.73.86";
      };
      "cgit" = {
        user = "git";
        hostname = "100.76.17.20";
        identityFile = "~/.ssh/cgit";
      };
      "codeberg" = {
        user = "git";
        hostname = "codeberg.org";
        identityFile = "~/.ssh/codeberg";
      };
      "poseidon" = {
        user = "admin";
        hostname = "81.2.236.202";
        identityFile = "/mnt/ssh-keys/poseidon";
      };
    };
  };
}