Skip to content

Instantly share code, notes, and snippets.

@grahamc
Last active December 1, 2017 22:02
Show Gist options
  • Save grahamc/fba67370053acc01ac216a6e4b73d308 to your computer and use it in GitHub Desktop.
Save grahamc/fba67370053acc01ac216a6e4b73d308 to your computer and use it in GitHub Desktop.
NixOS on a Dell 15" 9560 with the 4K screen.
@shokinn
Copy link

shokinn commented Apr 3, 2017

Hi Graham,
how can I enable VGA-switcheroo? I didn't find a way how I can enable it.

@lheckemann
Copy link

Setting fonts.fontconfig.dpi fixed scale issues with GTK applications also.

@lheckemann
Copy link

I tried enabling bumblebee on an older kernel (4.10). This works at runtime, but breaks booting — it seems that the nvidia card can't be active during boot otherwise the display just freezes. So what does work is booting without the nvidia module, switching to a configuration where it's enabled, manually unloading nouveau (requires stopping X server), manually loading nvidia, then restarting X and running applications in optirun. Needless to say, this sucks. The joys of proprietary drivers…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment