Cinnamon
Cinnamon is a Linux desktop that provides advanced innovative features and a traditional user experience.
Installation
Add to your configuration:
services.xserver.desktopManager.cinnamon.enable = true;
Although it is enabled through the xserver options, the experimental Wayland session is available through enabling this option.
Display Manager
Linux Mint Cinnamon edition comes with LightDM as the display manager, you can enable LightDM in your configuration like so:
services.xserver.displayManager.lightdm.enable = true;
Configuration
Excluding preinstalled packages
environment.cinnamon.excludePackages = [
pkgs.blueman
];
Online Account Management
Cinnamon uses gnome-online-accounts-gtk to manage online account connection with the rest of the desktop environment. However, merely activating the Cinnamon desktopManager service isn't enough to make this feature work. You must also activate the gnome-online-accounts service, like so.
services.gnome.gnome-online-accounts.enable = true;
Troubleshooting
Fix scrolling with a touchpad on Firefox-based browsers
This issue can be fixed by adding an environment variable to your session. Insert this in to your configuration.
environment.sessionVariables = {
MOZ_USE_XINPUT2=1; # Fix Firefox-based browsers scroll on X11.
};
After logging out and logging back in this issue shall be resolved.