diff options
author | David McFarland <corngood@gmail.com> | 2017-01-29 19:02:48 -0400 |
---|---|---|
committer | David McFarland <corngood@gmail.com> | 2017-02-06 23:16:21 -0400 |
commit | 905627c7c5d25f6006ff3d757e8800958fc00e14 (patch) | |
tree | b28629217cf66af4fd98bb8587197afa8b127f06 /nixos/modules/hardware | |
parent | 47c166fe0525e06ef833e15b9f543a0f3f342d7d (diff) |
xorg-server: fglrxCompat -> abiCompat
Allows it to be used for fglrx (1.17) and amdgpu-pro (1.18)
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/video/amdgpu-pro.nix | 2 | ||||
-rw-r--r-- | nixos/modules/hardware/video/ati.nix | 2 |
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 979810abf90ad..9e81f1b48a22b 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 bf91bcf0776bb..022fdea0a0a3e 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" ]; }; |