The images and messages you shared are red herrings. There are lots of unimplemented things in wine that are just that, not implemented, and don’t actually cause any problems for most software.
I believe the second image isn’t scrolled all the way down, and therefore doesn’t contain any of the messages that might indicate what’s going on. It’d be best if you just shared the full text output instead of screenshots, I’m sure there’s a button somewhere in lutris that lets you copy it.
How exactly you installed lutris may also be relevant.
If you’re going to keep trying, I’d abandon that particular prefix personally, it’s likely not going to manage to install anything functional at this point, the lutris installers are very finicky.
Yes, files created by the applications at runtime aren’t removed when they are removed from
configuration.nix. Only the contents of the package are removed (and also only after a
nix-collect-garbage). You’ll have to delete the directories manually, but NixOS at least guarantees that it is safe to do so, only way to get into a non-bootable state without extreme measures is to delete
NixOS has no way of tracking what gets created by which application. There’s sadly just no support for doing things like that on Linux.
Well, take the "no support" with a grain of salt
I guess something like that could be done with SELinux or apparmor, and some tedious work on getting applications to actually work within those constraints, as well as some patches to nixpkgs so it can learn to clean up data folders of deleted applications.
Flatpak is of course also in theory capable of it, since it has full control over the entire environment of the application, but chooses not to at the moment.
Deleting user data is always a tricky thing to do correctly, so people tend to not do it at all. Even Android and iOS, which are probably the most advanced end-user oriented operating systems out there, avoid it.