Jump to content

Cinnamon

From Official NixOS Wiki
Revision as of 19:31, 18 April 2026 by SeniorMatt (talk | contribs) (Added Troubleshooting header and the first issue about how to fix scrolling with touchpad on X11)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Cinnamon is a Linux desktop that provides advanced innovative features and a traditional user experience.

Installation

Add to your configuration:

❄︎ /etc/nixos/configuration.nix
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:

❄︎ /etc/nixos/configuration.nix
services.xserver.displayManager.lightdm.enable = true;

Configuration

Excluding preinstalled packages

❄︎ /etc/nixos/configuration.nix
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.

❄︎ configuration.nix
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.