That’s actually a very good question, Patryk, and not an easy one to answer. Native English speakers get a sort of feel for which one sounds right in a sentence, and which one doesn’t, but when asked why, it’s probably going to be difficult for him or her to say why. First off, the proper expression is „All I want is peace and quiet.“ And „All you need is love“ is correct (in fact those are the words to an old Beetles song).
The answers the others gave are all good, but this is my take on it: All presupposes a limited number of some sort, where everything sounds unlimited. Like, say a person writes a report and cites 10 points and says many other things. You might criticize the report by saying „all the 10 points he makes are wrong, but not everything in the report is wrong (there’s more to the report than just the 10 points for example).“
It‘s not a perfect answer, but that’s sort of the feel I have for it. The two are quite close in meaning.
Like in your question, „all I want is peace and quiet“ is an example of naming just 2 things you want. A limited number. Peace and quite are not everything there is to have in the world. Everything you need is love doesn’t work, probably because it’s not factually correct anyway. There’s more to what you need (I guess to exist) than just love. Hence, all I need works because you are focusing on just one thing.
Good question and a hard one to answer.