240 Hz feels like 60 Hz system-wide (NixOS user)

Hi, I have the following issue with my Samsung G80SD monitor (4K@240 Hz) on my NixOS installation with KDE.

I was previously using GNOME and the 240 Hz refresh rate worked correctly, as it also did when I switched my DE to KDE through the NixOS configuration file. However, after some system rebuild, the 240 Hz started to feel like plain locked 60 Hz across the entire system (even though my monitor reports it’s running at 240 Hz).

This happens regardless of the VRR setting (disabled, enabled, or automatic), and I can easily verify it on Blur Busters—those 240 Hz look exactly like 60 Hz.

On the other hand, 120 Hz works correctly (apart from some animation inconsistencies here and there), as do 60 Hz and 30 Hz.

I initially thought it might be related to this bug, but someone mentioned that it’s probably not, and that I should create a new bug report. I wanted to ask here first in case there’s a workaround or solution already, to follow good practices.

Thanks in advance.