[Nix-dev] 'bumblebee' nvidia gpu switching

Thomas Strobel ts468 at cam.ac.uk
Tue Feb 3 09:43:20 CET 2015


Hi,

I'm having problems enabling the 'bumblebee' nvidia gpu switching service.
I've appended a test case which does not work for me in the current
unstable channel.
Is somebody else seeing the same problem? Any advice or hint how to
resolve the issue would be very welcome :)

Cheers,
Thomas


configuration.nix:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
{ config, pkgs, ... }:
{
  hardware.bumblebee.enable = true;

  nixpkgs.config.allowUnfree = true;
  boot.loader.grub.enable = false;
  fileSystems."/" = { device = "/dev/null"; };
  swapDevices =[];
}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<

test build with:
  NIXOS_CONFIG=`pwd`/configuration.nix nixos-rebuild build


More information about the nix-dev mailing list