fix: linux 6.19 works not well with nvidia driver

This commit is contained in:
Ryan Yin
2026-03-16 17:50:52 +08:00
parent b9c76b8f22
commit e38d1936ca
2 changed files with 2 additions and 20 deletions
+1 -2
View File
@@ -41,8 +41,7 @@
boot.loader.systemd-boot.enable = true;
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/top-level/linux-kernels.nix
boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.kernelPackages = pkgs.linuxPackages_6_18; # 6.19 works not well with nvidia driver
boot.initrd.availableKernelModules = [
"xhci_pci"