Steam can't display windows after signing in

I just got a new laptop and decided to try out NixOS for the config file and rollback features. Everything worked fine until I tried to install Steam. I can log in to steam, and it launches fine, but once I complete 2fa and sign in, it repeatedly tries to open a window, which immediately closes.


I thought it may be Nvidia’s fault, but this continues even after installing their drivers.

How did you install steam and drivers?

Steam was installed by programs.steam.enable = true; and Nvidia drivers by hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable; services.xserver.videoDrivers = [ "nvidia" ];

1 Like