Here is the Cisco switch 802.1x configuration that worked for me in my home lab.
Line 131: activates AAA
lines 134 – 135: defining the Radius server group
Lines 164 – 166: defining the Radius server and the secret key.
Line 137: enables AAA dot1x authentication using the default method list, and using the Radius server group defined above.
Lines 142 – 150: this is the interface connected to the 802.1x supplicant. I put a generic access-list (default_acl) as a default ACL, in case the dACL feature does not work.