chore(ai): drop the nvidia-drm.fbdev kernel param the module already sets

hardware.nvidia.modesetting.enable makes nixpkgs' nvidia module add
nvidia-drm.modeset=1 and, for drivers >= 545, nvidia-drm.fbdev=1 to
moduleParams, which reach modprobe via extraModprobeConfig (evaluated:
"options nvidia-drm fbdev=1 modeset=1" on ai with 595.x).

Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
Ryan Yin authored and ryan4yin | 二花 committed 2026-11-01 10:14:27 -06:00
1 parent 455c03d1fd
commit b5c573592b
1 file changed
+2 -6
+2 -6
View File
@@ -15,11 +15,6 @@
# for.
# ===============================================================================================
boot.kernelParams = [
# Since NVIDIA does not load kernel mode setting by default,
# enabling it is required to make Wayland compositors function properly.
"nvidia-drm.fbdev=1"
];
services.xserver.videoDrivers = [ "nvidia" ]; # will install nvidia-vaapi-driver by default
hardware.nvidia = {
@@ -31,7 +26,8 @@
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/linux/nvidia-x11/default.nix
package = config.boot.kernelPackages.nvidiaPackages.production;
# required by most wayland compositors!
# required by most wayland compositors! Also sets nvidia-drm.modeset=1 and,
# for drivers >= 545, nvidia-drm.fbdev=1.
modesetting.enable = true;
powerManagement.enable = true;
};