mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
common-gpu-nvidia: enable modesetting by default
This is commonly required for many applications. As of https://github.com/NixOS/nixpkgs/pull/324921 this will also enable `nvidia-drm.fbdev=1`, fixing issues such as https://github.com/NixOS/nixpkgs/issues/302059
This commit is contained in:
parent
c5925d86de
commit
6b745e2331
1 changed files with 2 additions and 0 deletions
|
@ -3,4 +3,6 @@
|
||||||
{
|
{
|
||||||
imports = [ ../24.05-compat.nix ];
|
imports = [ ../24.05-compat.nix ];
|
||||||
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
||||||
|
# TODO: this will be a default after https://github.com/NixOS/nixpkgs/pull/326369
|
||||||
|
hardware.nvidia.modesetting.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue