services.displayManager.sddm.setupScript

NixOS option

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 in: nixos/modules/services/display-managers/sddm.nixView source on NixOS/nixpkgs →