1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-22 19:09:42 +01:00

asus-fx506hm: use nvidia-open by default

Uses Nvidia open source kernel modules if driver version is higher than
555

Motivation:
1. Nvidia themselves will be using the open source kernel modules by
   default for drivers above version 555 and for boards that support it
   (like the one in this laptop)
2. this fixes kernel panics I've been having for months
This commit is contained in:
Andy3153 2024-07-31 20:12:38 +03:00 committed by mergify[bot]
parent 6ed5521636
commit 72b83c838d

View file

@ -1,4 +1,4 @@
{ lib, ... }:
{ config, lib, ... }:
{
imports =
@ -14,6 +14,7 @@
hardware.nvidia =
{
modesetting.enable = lib.mkDefault true;
open = lib.mkIf (lib.versionAtLeast config.hardware.nvidia.package.version "555") true;
prime =
{