summary refs log tree commit diff
path: root/nixos/modules/hardware/video
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-05-23 10:12:44 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-05-23 10:12:44 +0200
commit05a36304ea812cc891a1d03a497b8ee7ce3729de (patch)
treebdf42933d625b313297d3b6db5c773ed8d822e8f /nixos/modules/hardware/video
parentff2d137410672d7ec50fa7666a39aab2dbd73e91 (diff)
downloadnixlib-05a36304ea812cc891a1d03a497b8ee7ce3729de.tar
nixlib-05a36304ea812cc891a1d03a497b8ee7ce3729de.tar.gz
nixlib-05a36304ea812cc891a1d03a497b8ee7ce3729de.tar.bz2
nixlib-05a36304ea812cc891a1d03a497b8ee7ce3729de.tar.lz
nixlib-05a36304ea812cc891a1d03a497b8ee7ce3729de.tar.xz
nixlib-05a36304ea812cc891a1d03a497b8ee7ce3729de.tar.zst
nixlib-05a36304ea812cc891a1d03a497b8ee7ce3729de.zip
nixos ati_unfree: auto-switch xorg to fglrxComat
Diffstat (limited to 'nixos/modules/hardware/video')
-rw-r--r--nixos/modules/hardware/video/ati.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/hardware/video/ati.nix b/nixos/modules/hardware/video/ati.nix
index 033e49d2233e..bf91bcf0776b 100644
--- a/nixos/modules/hardware/video/ati.nix
+++ b/nixos/modules/hardware/video/ati.nix
@@ -18,6 +18,8 @@ in
 
   config = mkIf enabled {
 
+    nixpkgs.config.xorg.fglrxCompat = true;
+
     services.xserver.drivers = singleton
       { name = "fglrx"; modules = [ ati_x11 ]; libPath = [ "${ati_x11}/lib" ]; };