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