Option to configure kernel for tallscreen monitor

I use tallscreen monitors, and I would like to configure the kernel so that even the framebuffer is rotated correctly (not only my graphical session; I let Sway handle output rotation then).
This Gentoo wiki entry explains how to configure the Kernel to do that, but I have no clue on how one would achieve that with NixOS. Is it even possible?

Seems like you could specify ‘fbcon=rotate:1’ in boot.kernelParams


1 Like