From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 26 Mar 2017 22:26:38 +0000 (+0200)
Subject: Fix OpenGL/NVidia config.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/edit?a=commitdiff_plain;h=2e60a553b43773ff270986bc354ed3d12b27c68a;p=config

Fix OpenGL/NVidia config.
---

diff --git a/ansible/config.yml b/ansible/config.yml
index 16b5651..ffec8f0 100644
--- a/ansible/config.yml
+++ b/ansible/config.yml
@@ -88,7 +88,11 @@
     - xinit  # contains startx
     - libpam-systemd  # needed to start X as non-root
   - name: ensure 3d acceleration and optimus switch
+    apt: name={{item}} state=present
+    with_items:
+    - linux-headers-amd64  # necessary to build proper nvidia-driver module
     - libgl1-mesa-dri  # necessary for OpenGL 3D acceleration to work
+    - libglu1-mesa  # necessary for OpenGL 3D acceleration to work
     - bumblebee-nvidia
     - primus
   - name: ensure basic X tools