nixpkgs/nixos/modules/hardware/video
seth 43764ae2c3
nixos/nvidia: assert open option is manually set on drivers >= 560
This requirement was introduced in
https://github.com/NixOS/nixpkgs/pull/337289 as a way to make sure users
"explicitly pick which version of the driver they want since nvidia
recommends the open one, but that is incompatible with older drivers".
This is reasonable, however the user isn't informed in any real way
aside from the upcoming release notes

This has caused a
[good](https://github.com/NixOS/nixpkgs/pull/337289#issuecomment-2313802016)
[amount](https://github.com/NixOS/nixpkgs/pull/337289#issuecomment-2318571311)
[of](https://github.com/NixOS/nixpkgs/issues/338196)
[confusion](https://github.com/NixOS/nixos-hardware/issues/1092) amongst
users. By introducing this assertion and using a new `useOpenModules`
local variable, we can have the same behavior but display a proper error
message to hopefully clear things up until we can safely make this a
default
2024-09-16 13:04:39 -04:00
..
capture nixos/hardware.mwProCapture: remove with lib; 2024-08-30 22:59:23 +02:00
uvcvideo nixos/hardware.uvcvideo: remove with lib; 2024-08-30 22:59:23 +02:00
webcam nixos/hardware.facetimehd: remove with lib; 2024-08-30 22:59:23 +02:00
bumblebee.nix nixos/hardware.bumblebee: remove with lib; 2024-08-30 22:59:22 +02:00
displaylink.nix nixos/hardware.displaylink: remove with lib; 2024-08-30 22:59:23 +02:00
intel-gpu-tools.nix
nvidia.nix nixos/nvidia: assert open option is manually set on drivers >= 560 2024-09-16 13:04:39 -04:00
radeon.nix
switcheroo-control.nix
virtualbox.nix