Wait how do you set an alarm? I had no idea this was a thing.
Late to the party, apologies, but - you can trade junk to Ash at the Scrapyard after scavenging. Trade enough (probably scrap electronics, among other things, not sure of exact values), and he eventually opens a refurbished items shop. The alarm clock can be purchased there - then, just use it from inventory.