I am replacing an old kitchen undercabinet light above my sink. I have a new undercabinet LED strip light that is powered by a plug-in LED driver (transformer). The prior unit (which had an internal transformer to step down voltage) was hardwired into an already existing 120v powered electrical cord that comes out of the wall about 12", but it's like lamp cord (no ground, just two wire cord).
The new unit has an external driver/transformer that needs to be plugged in. I'm thinking about simply attaching an external Receptacle, Plate & Box Kit under the cabinet above and wiring that existing cord to it. Is that possible? I don't want to recess a box into the wall as the tile would need to be removed and it's a 150+ year old home so who knows what's behind there! Thanks for any advice, I know it's probably not up to code but in a house this old a lot isn't.