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

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;
}