summary refs log blame commit diff stats
path: root/sys/services/openssh/default.nix
blob: 7a964417489014f9772c0d5c2a0dd07a5b8ed1a4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17















                                                        
{...}: {
  services.openssh = {
    enable = true;
    allowSFTP = false;
    openFirewall = false;
    settings = {
      PermitRootLogin = "no";
    };
    hostKeys = [
      {
        path = "/srv/var/lib/sshd/ssh_host_ed25519_key";
        rounds = 1000;
        type = "ed25519";
      }
    ];
  };
}