greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / features / cli / ssh.nix29 lines · 671B · raw

1{
2  programs.ssh = {
3    enable = true;
4
5    # Replaces the soon-to-be-removed legacy defaults; values mirror the
6    # old programs.ssh.settings."*" block.
7    enableDefaultConfig = false;
8
9    settings = {
10      "*" = {
11        ForwardAgent = false;
12        AddKeysToAgent = "no";
13        Compression = false;
14        ServerAliveInterval = 0;
15        ServerAliveCountMax = 3;
16        HashKnownHosts = false;
17        UserKnownHostsFile = "~/.ssh/known_hosts";
18        ControlMaster = "no";
19        ControlPath = "~/.ssh/master-%r@%n:%p";
20        ControlPersist = "no";
21      };
22
23      gh = {
24        HostName = "github.com";
25        User = "git";
26      };
27    };
28  };
29}