Not every package that comes with xfce has a name that starts with xfce4, just most of them do. You may need to identify and remove other packages too.
In NixOS when you remove the package from the list of packages you don’t have the symlinks pointing to it anymore, so it is like it’s not there (you can garbage collect it)
When I did this on Ubuntu, when I shut down I still see some stuff from xfce
Not every package that comes with xfce has a name that starts with xfce4, just most of them do. You may need to identify and remove other packages too.
This is why I hate apt
In NixOS when you remove the package from the list of packages you don’t have the symlinks pointing to it anymore, so it is like it’s not there (you can garbage collect it)