SSL peer certificate or SSH remote key was not OK when launching Steam

Hi all. The issue is essentially in the title. Just installed steam and get this error message when launching it from shell.
I just installed Steam through home-manager standalone with

 home.packages = [
    # other stuff
    pkgs.steam
  ];

and I’m using nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; in the flake I manage my system with. I don’t have any SSL related issues anywhere else and the /etc/ssl/ folder is untouched. Does anyone have hints on how to solve?
Thanks in advance.

You can not install steam that way, you have to use programs.steam.enable in the system, to also ensure that the correct 32bit drivers for your system get enabled and installed.

A reboot will be required after that.

Thanks, I also found this issue after your comment. I guess the options are to install it at system level, or via flatpak. At this point I’m wondering if installing flatpak, even if just for steam, would be a cleaner solution.