nixos/video: remove obsolete ati modules

Changed files
+1 -43
nixos
modules
+1 -2
nixos/modules/hardware/opengl.nix
···
description = ''
On 64-bit systems, whether to support Direct Rendering for
32-bit applications (such as Wine). This is currently only
-
supported for the <literal>nvidia</literal> and
-
<literal>ati_unfree</literal> drivers, as well as
<literal>Mesa</literal>.
'';
};
···
description = ''
On 64-bit systems, whether to support Direct Rendering for
32-bit applications (such as Wine). This is currently only
+
supported for the <literal>nvidia</literal> as well as
<literal>Mesa</literal>.
'';
};
-40
nixos/modules/hardware/video/ati.nix
···
-
# This module provides the proprietary ATI X11 / OpenGL drivers.
-
-
{ config, lib, pkgs, ... }:
-
-
with lib;
-
-
let
-
-
drivers = config.services.xserver.videoDrivers;
-
-
enabled = elem "ati_unfree" drivers;
-
-
ati_x11 = config.boot.kernelPackages.ati_drivers_x11;
-
-
in
-
-
{
-
-
config = mkIf enabled {
-
-
nixpkgs.config.xorg.abiCompat = "1.17";
-
-
services.xserver.drivers = singleton
-
{ name = "fglrx"; modules = [ ati_x11 ]; display = true; };
-
-
hardware.opengl.package = ati_x11;
-
hardware.opengl.package32 = pkgs.pkgsi686Linux.linuxPackages.ati_drivers_x11.override { libsOnly = true; kernel = null; };
-
hardware.opengl.setLdLibraryPath = true;
-
-
environment.systemPackages = [ ati_x11 ];
-
-
boot.extraModulePackages = [ ati_x11 ];
-
-
boot.blacklistedKernelModules = [ "radeon" ];
-
-
environment.etc.ati.source = "${ati_x11}/etc/ati";
-
-
};
-
-
}
···
-1
nixos/modules/module-list.nix
···
./hardware/wooting.nix
./hardware/uinput.nix
./hardware/video/amdgpu-pro.nix
-
./hardware/video/ati.nix
./hardware/video/capture/mwprocapture.nix
./hardware/video/bumblebee.nix
./hardware/video/displaylink.nix
···
./hardware/wooting.nix
./hardware/uinput.nix
./hardware/video/amdgpu-pro.nix
./hardware/video/capture/mwprocapture.nix
./hardware/video/bumblebee.nix
./hardware/video/displaylink.nix