nixos-config/sets/sshd.nix

12 lines
251 B
Nix
Raw Normal View History

2020-04-11 21:47:33 +00:00
{ config, pkgs, ... }:
{
services.openssh = {
enable = true;
2021-09-18 17:44:53 +00:00
permitRootLogin = "no";
2020-04-11 21:47:33 +00:00
passwordAuthentication = false;
challengeResponseAuthentication = false;
2020-04-11 21:47:33 +00:00
};
# users.users.artemis.openssh.authorizedKeys.keys set in private
}