nixos-config/services/ssh.nix

10 lines
178 B
Nix

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