We determined to position our curtain rod 1-1/2” outdoors of the window on either side. This placement will guarantee there will likely be no hole between the curtain and the window.
Also, decide the vertical placement of the brackets. This will probably rely on size of your curtains. Hanging the brackets above the window could make the window seem bigger than it’s.