In case anyone is like me and arrived here through Google/forum search, I managed to get things working by setting the video driver to modesetting
and flipping enable_psr
to 1:
services.xserver.videoDrivers = [ "modesetting" ];
# NixOS docs suggest this.
services.xserver.useGlamor = true;
boot.kernelParams = [
"i915.enable_psr=1"
];
Without that kernel parameter, Xorg would load but would freeze and stutter for a few seconds periodically - it was basically unusable.
Unfortunately it doesn’t seem like the modesetting driver supports TearFree
like the old Intel one. Given that most of Qt applications I tried were broken on the Intel driver I think this is currently the only choice for the 12th Gen Framework.