Kaunas or Vilnius (I hope it’s not Vilnius) if I’d like to continue my career in IT, so 100k € for that.
That's cheap as fuck. Is it even realistic, and then you're going to go back to work?
I’d really have some mad and stupid ideas appearing in my head, 10k € for that
How are you going to implement any mad ideas when you essentially have to return to your full time job to survive, once giving 5+ years of salary to Ukraine? Absolutely terrible plan here.
A better plan (in my opinon only) would be to buy the properlty you want, or put the whole 1m in a pension index fund, then immediately retire, taking a 50k per year salary for life (well based on historical average stock market return). Then living in people's air bnb's across Europe and Japan contributing to FOSS projects. 50k per year will pay for education, allow you to pay into charities and make FOSS donations depending on how you live.
We have much smaller purchasing power here. Programmers' salaries for Junior Developer are at around 20k to 30k a year in Lithuania and up to 50k a year for Senior developers, and this is only if you are really lucky.