Hi
What desktop?
switcherooctl
Device: 0
Name: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics
Default: yes
Environment: DRI_PRIME=pci-0000_00_02_0
Device: 1
Name: NVIDIA Corporation GP108 [GeForce GT 1030]
Default: no
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1
Edit: You have to enable and start the switcheroo-control systemd service!