nixos-config/sets/sshd.nix

12 lines
251 B
Nix

{ config, pkgs, ... }:
{
services.openssh = {
enable = true;
permitRootLogin = "no";
passwordAuthentication = false;
challengeResponseAuthentication = false;
};
# users.users.artemis.openssh.authorizedKeys.keys set in private
}