So, my solution to this is probably a bit more jank than you’d like, but I use one of those portable USB-C monitors that also has an HDMI input (mine is mini HDMI, but I just leave the adapter plugged into it) then I have HDMI cables run from the back of my systems, that I can plug into the portable monitor when I need local access.
When not in use, I can easily just store the portable monitor nearby, and it doesn’t take up much space.
I’m running full desktops on my machines though, and also have those dummy HDMI plugs that emulate a monitor so the systems load the desktop properly, so I can use vnc or other remote desktop to access the systems when I’m not home. I plug the dummy HDMI plugs into same HDMI cables I use for my display, using couplers, so I don’t run into any weird “dual monitor” weirdness from using both a real display and a dummy plug at the same time.
As far as input, I have a couple of super cheap wireless keyboards with trackpads built in. They don’t provide the best typing experience, but they do the job for what I need.
I work night shift and use blackout curtains and earplugs to improve my sleep during the day. Rather than cranking the volume on my alarm so it’s loud enough to consistently wake me up, I use Home Assistant to turn on some smart bulbs as my alarm. When I started, and even now if I have to be up extra early, I also have an audible alarm set to go off a few minutes after the lights come on - just in case the light doesn’t wake me up, but at this point my brain has gotten used to waking up to the lights, and I usually wake up and turn off the other alarm before it goes off.
Another useful automation for me is I have a buggy Samsung PC monitor that has all sorts of annoying issues; like not consistently waking from deep sleep which requires a hard power cycle to correct, and when it is asleep there’s some weird high pitched whine that beeps when the standby light flashes. I use a couple of smart plugs with power monitoring and monitor my PCs power draw to turn the power to my monitor on and off at the wall depending on if the PC is on.