trying to fix nvidia

This commit is contained in:
Chris Cochrun 2023-05-05 12:59:02 -05:00
parent 171a2e8218
commit 1e5f1314e2

View file

@ -3,7 +3,14 @@
# and in the NixOS manual (accessible by running nixos-help).
{ config, lib, pkgs, ... }:
let
unstable = import <nixos-unstable> {
config = {
allowUnfree = true;
allowUnfreePredicate = (pkg: true);
};
};
in
{
imports =
[ # Include the results of the hardware scan.
@ -48,7 +55,7 @@
};
nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.stable;
package = config.boot.kernelPackages.nvidiaPackages.latest;
modesetting.enable = true;
};
};