all repos — nixfiles @ c408e91c8dd06788ec1f2c61ca1f2fdc0df5b4e7

System and user configuration, managed by nix and home-manager

system/settings/services/ssh.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# configuration shared between desktop and server roles
{ ... }:
{
  services.openssh = {
    enable = true;
    settings = {
      AcceptEnv = [
        "LANG"
        "LC_*"
        "TERM_PROGRAM"
      ];
    };
  };

  security.pam = {
    sshAgentAuth.enable = true;
    services.sudo.sshAgentAuth = true;
  };
}