LightDM
Appearance
LightDM is a lightweight, cross-desktop display manager. It is built on X11 but is capable of launching Wayland sessions.
Installation
LightDM may be installed and set to start automatically by enabling it in your configuration file.
❄︎ /etc/nixos/configuration.nix
services.xserver.displayManager.lightdm.enable = true;
⚠︎
Warning: LightDM relies on X11, to use it make sure that
services.xserver.enable = true; is set in your configuration.Configuration
Additional options may be found under services.xserver.displayManager.lightdm.
❄︎ /etc/nixos/configuration.nix
services.xserver.displayManager.lightdm = {
enable = true;
# Setting gtk as the greeter
greeters.gtk.enable = true;
# Example of having background as a particular color
background = "#ffa07a";
# Example of the default image background (must be an absolute path)
#background = pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath;
};