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



         

                                   
                



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