tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos ati_unfree: auto-switch xorg to fglrxComat
Vladimír Čunát
9 years ago
05a36304
ff2d1374
+3
-1
2 changed files
expand all
collapse all
unified
split
nixos
modules
hardware
video
ati.nix
pkgs
top-level
all-packages.nix
+2
nixos/modules/hardware/video/ati.nix
···
18
18
19
19
config = mkIf enabled {
20
20
21
21
+
nixpkgs.config.xorg.fglrxCompat = true;
22
22
+
21
23
services.xserver.drivers = singleton
22
24
{ name = "fglrx"; modules = [ ati_x11 ]; libPath = [ "${ati_x11}/lib" ]; };
23
25
+1
-1
pkgs/top-level/all-packages.nix
···
10268
10268
mesa = mesa_noglu;
10269
10269
udev = if stdenv.isLinux then udev else null;
10270
10270
libdrm = if stdenv.isLinux then libdrm else null;
10271
10271
-
fglrxCompat = false;
10271
10271
+
fglrxCompat = config.xorg.fglrxCompat or false; # `config` because we have no `xorg.override`
10272
10272
} // { inherit xlibsWrapper; } );
10273
10273
10274
10274
xwayland = callPackage ../servers/x11/xorg/xwayland.nix { };