Fixed nvidia?
This commit is contained in:
parent
08209e72c3
commit
e1df719f9f
3 changed files with 4 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
hardware = {
|
||||
graphics = {
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
logitech.wireless.enable = true;
|
||||
};
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.mkDriver { #fixes https://github.com/NixOS/nixpkgs/issues/375730 temporary
|
||||
hardware.nvidia.package = lib.mkIf config.boot.kernelPackages == pkgs.linuxPackages_latest config.boot.kernelPackages.nvidiaPackages.mkDriver { #fixes https://github.com/NixOS/nixpkgs/issues/375730 temporary
|
||||
version = "570.86.16"; # use new 570 drivers
|
||||
sha256_64bit = "sha256-RWPqS7ZUJH9JEAWlfHLGdqrNlavhaR1xMyzs8lJhy9U=";
|
||||
openSha256 = "sha256-DuVNA63+pJ8IB7Tw2gM4HbwlOh1bcDg2AN2mbEU9VPE=";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue