I have niri as my compositor and uwsm starts it. The problem is, none of the services.*.enable work. At best I have to write systemd user services myself.
For example, services.cliphist.enable creates no service file in $HOME/.config/systemd/user directory. And systemctl --user status cliphist.service, returns that no such user service exists.
Firstly, for future reference, please include contextual information, like “I’m talking about home-manager”.
Secondly, you probably want to set this option. Why it isn’t the default, I don’t know. (EDIT: Hmm. On further checking, it is the default. It didn’t used to be. Maybe something else is the issue.)
You’re using systemd.user.services = lib.mkForce <something>;. If you do this even once, all other things that set anything under systemd.user.services get their settings obliterated by the mkForce. systemd.user.services is an option in itself, and priority applies to it as a whole unit.
First I would try to make sure every single setting of this sort is set with normal priority, and see if the issue still exists. If you want to override an existing service, do so closer to the leaf options.