summary refs log tree commit diff stats
path: root/system/services/openssh/default.nix
blob: 8b28cbd35928bf2faa85c0537616484664939f9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{...}: {
  services.openssh = {
    enable = true;
    settings.PasswordAuthentication = false;
    hostKeys = [
      {
        path = "/var/lib/sshd/ssh_host_ed25519_key";
        rounds = 1000;
        type = "ed25519";
      }
    ];
  };
}