services.displayManager.defaultSession
NixOS option
Graphical session to pre-select in the session chooser (only effective for GDM, LightDM and SDDM). On GDM, LightDM and SDDM, it will also be used as a session for auto-login. Set this option to empty string to get an error with a list of currently available sessions.
type: null or session nameDefault
null
Example
declared in: nixos/modules/services/display-managers/default.nixView source on NixOS/nixpkgs →"gnome"