services.displayManager.sddm.setupScript
NixOS option
A script to execute when starting the display server. DEPRECATED, please use services.xserver.displayManager.setupCommands.
type: stringDefault
""
Example
declared in: nixos/modules/services/display-managers/sddm.nixView source on NixOS/nixpkgs →'' # workaround for using NVIDIA Optimus without Bumblebee xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto ''