nixos/nvidia: update manual
Remove the `nvidiaLegacy*` video drivers from the manual: not only are they deprecated, their deprecation notice was removed in https://github.com/NixOS/nixpkgs/pull/244060.
This commit is contained in:
parent
a01132bc46
commit
fb613a3a41
|
@ -146,14 +146,12 @@ default because it's not free software. You can enable it as follows:
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
```
|
```
|
||||||
|
|
||||||
Or if you have an older card, you may have to use one of the legacy
|
If you have an older card, you may have to use one of the legacy drivers:
|
||||||
drivers:
|
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
services.xserver.videoDrivers = [ "nvidiaLegacy470" ];
|
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
|
||||||
services.xserver.videoDrivers = [ "nvidiaLegacy390" ];
|
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_390;
|
||||||
services.xserver.videoDrivers = [ "nvidiaLegacy340" ];
|
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_340;
|
||||||
services.xserver.videoDrivers = [ "nvidiaLegacy304" ];
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You may need to reboot after enabling this driver to prevent a clash
|
You may need to reboot after enabling this driver to prevent a clash
|
||||||
|
|
|
@ -303,7 +303,7 @@ in
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [ "modesetting" "fbdev" ];
|
default = [ "modesetting" "fbdev" ];
|
||||||
example = [
|
example = [
|
||||||
"nvidia" "nvidiaLegacy390" "nvidiaLegacy340" "nvidiaLegacy304"
|
"nvidia"
|
||||||
"amdgpu-pro"
|
"amdgpu-pro"
|
||||||
];
|
];
|
||||||
# TODO(@oxij): think how to easily add the rest, like those nvidia things
|
# TODO(@oxij): think how to easily add the rest, like those nvidia things
|
||||||
|
|
Loading…
Reference in New Issue
Block a user