GNOME Display Manager (GDM) is a default display manager of GNOME desktop environment, but can be used independently as well.

Installation

GDM can be enabled as the display manager with this line.

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

Configuration

❄︎ /etc/nixos/configuration.nix
services.displayManager.gdm = {
  enable = true;
};

# Enable autologin
services.displayManager.autoLogin = {
    enable = true;
    user = "username";
  };

# Graphical session to pre-select 
services.displayManager.defaultSession = "gnome";

Tips and tricks

Troubleshooting

See also

There is currently no comprehensive documentation for gdm, hence, here is a list of few decent places to get info or ask questions specific to GDM/Gnome.


References