Zed-editor: the server certificate could not be validated

I am a NixOS user. I am on 24.05 stable branch. I am able to normally browse through internet on Firefox and Chromium, apps like Spotify can also access it. I can successfully perform curl requests.

I am a zed-editor user. For some reason, when launching zed from unstable or unstable-small channel with steam-run, it cannot access internet. It can access internet when launched without steam-run, however language servers are broken as expected.

I wonder what is changed in zed between stable and unstable also what steam-run changes about certificates and how I can keep using latest zed-editor with language servers right now. I couldn’t find any other person with similar problem by searching on Google, NixOS and Zed issues.

steam-run zed --foreground
[2024-08-01T19:18:14+03:00 ERROR theme] theme not found: Night Owl Dark
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
[2024-08-01T19:18:14+03:00 ERROR auto_update] auto-update failed: error:the server certificate could not be validated

Caused by:
    [60] SSL peer certificate or SSH remote key was not OK
[2024-08-01T19:18:14+03:00 ERROR supermaven] Unable to acquire Supermaven Agent

Caused by:
    0: the server certificate could not be validated
    1: [60] SSL peer certificate or SSH remote key was not OK
[2024-08-01T19:18:19+03:00 ERROR workspace::notifications] the server certificate could not be validated

Caused by:
    0: the server certificate could not be validated
    1: [60] SSL peer certificate or SSH remote key was not OK

My NixOS configuration, if needed I can share full config:

{ config, pkgs, lib, ... }:

let
  unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
  unstable-small = import <nixos-unstable-small> { config = { allowUnfree = true; }; };
in {
...
  users.users.unitythemaker = {
    isNormalUser = true;
    ...
    shell = pkgs.fish;
    packages = with pkgs; [
      wl-clipboard
      (pass.withExtensions (ext: with ext; [pass-otp]))
      pass
      vscode
      postman
      unstable-small.zed-editor
      unstable.spotify
      unstable.chromium
    ];
  };

Oh, this worked. No need for steam-run anymore: Zed Editor package can't use language servers · Issue #309662 · NixOS/nixpkgs · GitHub