about summary refs log tree commit diff
path: root/nixos/modules/hardware/video
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2017-01-29 19:02:48 -0400
committerDavid McFarland <corngood@gmail.com>2017-02-06 23:16:21 -0400
commit905627c7c5d25f6006ff3d757e8800958fc00e14 (patch)
treeb28629217cf66af4fd98bb8587197afa8b127f06 /nixos/modules/hardware/video
parent47c166fe0525e06ef833e15b9f543a0f3f342d7d (diff)
downloadnixlib-905627c7c5d25f6006ff3d757e8800958fc00e14.tar
nixlib-905627c7c5d25f6006ff3d757e8800958fc00e14.tar.gz
nixlib-905627c7c5d25f6006ff3d757e8800958fc00e14.tar.bz2
nixlib-905627c7c5d25f6006ff3d757e8800958fc00e14.tar.lz
nixlib-905627c7c5d25f6006ff3d757e8800958fc00e14.tar.xz
nixlib-905627c7c5d25f6006ff3d757e8800958fc00e14.tar.zst
nixlib-905627c7c5d25f6006ff3d757e8800958fc00e14.zip
xorg-server: fglrxCompat -> abiCompat
Allows it to be used for fglrx (1.17) and amdgpu-pro (1.18)
Diffstat (limited to 'nixos/modules/hardware/video')
-rw-r--r--nixos/modules/hardware/video/amdgpu-pro.nix2
-rw-r--r--nixos/modules/hardware/video/ati.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/amdgpu-pro.nix b/nixos/modules/hardware/video/amdgpu-pro.nix
index 979810abf90a..9e81f1b48a22 100644
--- a/nixos/modules/hardware/video/amdgpu-pro.nix
+++ b/nixos/modules/hardware/video/amdgpu-pro.nix
@@ -21,6 +21,8 @@ in
 
   config = mkIf enabled {
 
+    nixpkgs.config.xorg.abiCompat = "1.18";
+
     services.xserver.drivers = singleton
       { name = "amdgpu"; modules = [ package ]; libPath = [ package ]; };
 
diff --git a/nixos/modules/hardware/video/ati.nix b/nixos/modules/hardware/video/ati.nix
index bf91bcf0776b..022fdea0a0a3 100644
--- a/nixos/modules/hardware/video/ati.nix
+++ b/nixos/modules/hardware/video/ati.nix
@@ -18,7 +18,7 @@ in
 
   config = mkIf enabled {
 
-    nixpkgs.config.xorg.fglrxCompat = true;
+    nixpkgs.config.xorg.abiCompat = "1.17";
 
     services.xserver.drivers = singleton
       { name = "fglrx"; modules = [ ati_x11 ]; libPath = [ "${ati_x11}/lib" ]; };