Please update your nixpkgs and home-manager inputs, the bug you describe only appears in a combination of commits that spans about a single week of git history or even less…
And if I also recall correctly only unstable should be affected, as the issue occured after the 23.05 branch-off.
Thanks for helping - I have updated my inputs, both all and explicitly using nix-channel --update for home-manager, nixos and nixpkgs - example output below. (I saw no change for other channels)
You are talking about nix-channel --update and show also the output of an updated flake input.
Can you please be a bit more verbose/detailed about your HM and system setup?
Do you use HM as a system module or standalone?
Channels or flakes?
Is the configuration public?
In case of flakes what are the exact inputs of the relevant flake?
In case of channels whaht are the channels of root and the affected user?