For a long time now, I’ve been using stumpwm with NixOS with a lot of happiness, except that every time I nixos-rebuild switch, even for a very minor change to my configuration.nix (e.g. removing something from environment.systemPackages), stumpwm restarts and, unlike a normal restart of stumpwm, it loses all its windows. The processes that those windows were showing are still running though.
This happens even if I have no personal stumpwm configuration (no .stumpwmrc or equivalent).
I’m at a loss for how to debug this. Has anyone else experienced it?
Only curious- what login manager are you using? I ask because I face a similar problem where my x server stops accepting new connections after switch (so no new windows). I beleive my problem is rooted in my usage of startx.