nixos-config/sets/sshd.nix

11 lines
223 B
Nix
Raw Normal View History

2020-04-11 21:47:33 +00:00
{ config, pkgs, ... }:
{
services.openssh = {
enable = true;
passwordAuthentication = false;
challengeResponseAuthentication = false;
2020-04-11 21:47:33 +00:00
};
# users.users.artemis.openssh.authorizedKeys.keys set in private
}