summary refs log blame commit diff stats
path: root/services/opensshd.nix
blob: cb9f2ba83035a6990c1a174573eba0ceda9bdde8 (plain) (tree)
1
2
3
4
5
6
7
8



         

                                   






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