nixos-config/sets/sshd.nix

12 lines
248 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;
2022-05-31 04:42:46 +00:00
kbdInteractiveAuthentication = false;
2020-04-11 21:47:33 +00:00
};
# users.users.artemis.openssh.authorizedKeys.keys set in private
}