Upgrade / nix-env -u always fails

That’s most likely related to your internet connection and our CDN, see e.g. the end of this thread: The NixOS Cache is now hosted by Fastly!