The levelised cost doesn’t take into account the need to offset intermittence, which is the big fucking problem that the entire population of Germany seems to be ignoring.
I don’t think the DE itself matters, but I can recommend using an immutable OS (makes it harder to install malware) and installing flatpak apps only. You can also use software like flatseal to further lock down permissions