displayManager
services.displayManager.autoLogin
Auto login configuration attrset.
Type: submodule
Default
{ }
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.autoLogin.enable
Automatically log in as {option}autoLogin.user
.
Type: boolean
Default
config.services.displayManager.autoLogin.user != null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.autoLogin.user
User to be used for the automatic login.
Type: null or string
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.defaultSession
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.
Type: session name
Default
null
Example
"gnome"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.enable
Whether to enable systemd's display-manager service.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.environment
Additional environment variables needed by the display manager.
Type: attribute set of unspecified value
Default
{ }
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.execCmd
Command to start the display manager.
Type: string
Example
"${pkgs.lightdm}/bin/lightdm"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.hiddenUsers
A list of users which will not be shown in the display manager.
Type: list of string
Default
["nobody"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.logToFile
Whether the display manager redirects the output of the
session script to {file}~/.xsession-errors
.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.logToJournal
Whether the display manager redirects the output of the session script to the systemd journal.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.preStart
Script executed before the display manager is started.
Type: strings concatenated with "\n"
Default
""
Example
"rm -f /var/log/my-display-manager.log"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix
services.displayManager.sddm.autoLogin.minimumUid
Minimum user ID for auto-login user.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
1000
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.autoLogin.relogin
If true automatic login will kick in again on session exit (logout), otherwise it will only log in automatically when the display-manager is started.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.autoNumlock
Enable numlock at login.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.enable
Whether to enable sddm as the display manager.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.enableHidpi
Whether to enable automatic HiDPI mode.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.extraPackages
Extra Qt plugins / QML libraries to add to the environment.
Type: list of package
Default
"[]"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.package
The sddm package to use.
Type: package
Default
pkgs.plasma5Packages.sddm
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.settings
Extra settings merged in and overwriting defaults in sddm.conf.
Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))
Default
{ }
Example
{Autologin = {Session = "plasma.desktop";User = "john";};}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.setupScript
A script to execute when starting the display server. DEPRECATED, please
use {option}services.xserver.displayManager.setupCommands
.
Type: string
Default
""
Example
'' # workaround for using NVIDIA Optimus without Bumblebee xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto''
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.stopScript
A script to execute when stopping the display server.
Type: string
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.theme
Greeter theme to use.
Type: string
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.wayland.compositor
The compositor to use: kwin, weston
Type: one of "kwin", "weston"
Default
"weston"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sddm.wayland.enable
Whether to enable experimental Wayland support.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/sddm.nix
services.displayManager.sessionPackages
A list of packages containing x11 or wayland session files to be passed to the display manager.
Type: list of package with provided sessions
Default
[ ]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix