Keyboard does not behave correctly on boot

Hello everyone! I am a newbie on NixOS, and have only been using it for a few days. In general, everything works fine, but there’s this strange quirk happening: I have a KVM to split my monitor with a console, and have my keyboard and mouse attached to it, and whenever I boot up my computer, my keyboard does not work on the display manager until I unplug it and plug it back in again.

I am currently using SDDM + Plasma 6, and have not expanded my config much beyond the initial one you get from the guided installer. My keyboard lights up as if plugged in initially, but then shuts down after a few seconds, with the input not working then. What could be causing this?

I am on nixos version 26.05pre955442.dd9b079222d4 (Yarara), using the unstable channel (due to needing the latest libstdc++ for some container work), and nix (Nix) 2.31.3.