about summary refs log blame commit diff stats
path: root/system/services/openssh/default.nix
blob: 5ee48a0cc4daf22dffa0aab5024513ce4c3b5f8d (plain) (tree)

















                                                
{
  config,
  pkg,
  ...
}: {
  services.openssh = {
    enable = true;
    hostKeys = [
      {
        path = "/srv/sshd/ssh_host_ed25519_key";
        rounds = 1000;
        type = "ed25519";
      }
    ];
    settings = {
      PasswordAuthentication = false;
    };
  };
}