All I would like to say, like all above, is that you have not lost much. Freshers, just to get into the industry hastily, do join anywhere they get an opportunity. Now, since you're clear with what you want to do regarding your career goals, you must act immediately on it. What I would suggest is that at this stage, don't go for the salary, work timings, or location, etc. Just look for the profile in HR that you are actually looking for. You need to have experience in your field, then you can negotiate your terms.
By working where you have no interest, you are not being honest to your work and yourself as well.
Best wishes for the future, Suneetha.