I figured it out. You need to use:
switchport mode access, first and then dot1x will be available.