Update default.nix

This commit is contained in:
hoppla20 2020-10-01 07:54:29 +02:00 committed by GitHub
parent f3eb1498e9
commit 9d36eb67f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,5 +15,5 @@
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
};
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.6") pkgs.linuxPackages_latest;
}