If governments want to fund digital infrastructure, they should start projects to produce public domain digital infrastructure code. They could hire the maintainers of existing open source projects. But, it would be a new project made by government employees to produce a public good.
Open source projects generally don’t have an obligation to their users. Taking money will create that obligation.
Open source projects generally don’t have an obligation to their users. Taking money will create that obligation.