So, my issues with NixOS seems to have been related to Librewolf and Firefox being autoupdated (autoupdate of nix was enabled in config) which caused regressions in hardware acceleration or something like that
Simple fix I found is installing latest kernel with "boot.kernelPackages = pkgs.linuxPackages_latest" line in configuration.nix
Simple fix I found is installing latest kernel with "boot.kernelPackages = pkgs.linuxPackages_latest" line in configuration.nix