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