I have automatic upgrades set up and it worked great for a while, then silently stopped updating due to a URL change. This was a while back, so I don’t remember exactly what that was. But I got it fixed and the updates worked again for awhile but then started silently failing again. Now every morning I get messages like this in the logs:
warning: error: unable to download 'https://nixos.org/channels/nixos-22.05/nixexprs.tar.xz': Couldn't resolve host name (6); retrying in 293 ms
However I can load that URL just fine in a browser and the tar starts downloading. Anyone have any idea why just the auto-updates daemon wouldn’t be able to resolve this URL?