dotfiles/ubuntu/install_optimus

8 lines
230 B
Text
Raw Normal View History

#!/bin/bash
set -e
set -v
sudo aptitude install -y nvidia-346
sudo aptitude install -y bumblebee bumblebee-nvidia primus
sudo cp -v bumblebee.conf /etc/bumblebee/bumblebee.conf
sudo cp -v nouveau.conf /etc/modprobe.d/nouveau.conf