Xmonad on HiDPI screen

How would I configure xmonad correctly for an HiDPI screen in my nixos configuration file ?

I use XMonad on a high DPI screen. I haven’t specifically configured it. What is missing for you?

I am looking at buying a Lenovo X1 Carbon with a wqhd HiDPI screen. But I wanted to make sure it will work with xmonad. Do you need to set the DPI in . Xresources ?

I use an X1 Carbon with XMonad. Some apps need to be configured, some don’t. It’s not really about XMonad.

OK thanks. Sounds like it should not be an issue.