summaryrefslogtreecommitdiff
path: root/home/common/modules/ssh.nix
blob: 5c54f44e9e1f2a8a1f777cde0083c00b0f7853f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, ... }: let
  domain = config.global.userdata.domain;
in {
  programs.ssh = {
    enable = true;
    compression = true;

    extraConfig = ''
      Host kay
        HostName ${domain}
    '';
  };
}