services.displayManager.sddm.setupScript

A script to execute when starting the display server. DEPRECATED, please use services.xserver.displayManager.setupCommands.

Type
string
Default
""
Example
''
  # workaround for using NVIDIA Optimus without Bumblebee
  xrandr --setprovideroutputsource modesetting NVIDIA-0
  xrandr --auto
''
Declared
<nixpkgs/nixos/modules/services/display-managers/sddm.nix>