Multiseat X on NixOS


I have an old nvidia card which can run either the legacy nvidia driver or nouveau, and a more modern nvidia card which can use the regular nvidia binary driver.

In the distant past I ran into some issues with multiseat X and different versions of the nvidia binary driver on Gentoo. Having 2 different video drivers loaded at the same time wouldn’t work.

I’m back to a spot where I’d like to run a single computer which serves as a kde desktop with a monitor as well as a htpc running kodi and steam on a tv. I think multiseat X is still the best way to go but if anyone has another idea I’m certainly open to it.

Does anyone know if I can run 2 different video drivers on NixOS? Does anyone have a working multiseat X configuration they could share?