I don't know what to do.

So my boyfriend smokes a lot of weed and it bothers me. Not beccause I'm against it, but because of how much money is spent on it. We've talked about it and came to an agreement (That he can only buy it when we have "extra" money) but he still gets angry at times and makes smart ass remarks that he is being controlled, when we don't have money. And acts immature. What should I do? I want to have a kid with this guy?