{ ... }: { services.desktopManager.cosmic.enable = true; environment.sessionVariables = { COSMIC_DISABLE_DIRECT_SCANOUT = "true"; }; }