From 1e5f1314e2cbe1181278a5252faeca40ce73fa05 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 5 May 2023 12:59:02 -0500 Subject: [PATCH] trying to fix nvidia --- system/shen/configuration.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/system/shen/configuration.nix b/system/shen/configuration.nix index 7a6f184..84ff3f8 100644 --- a/system/shen/configuration.nix +++ b/system/shen/configuration.nix @@ -3,7 +3,14 @@ # and in the NixOS manual (accessible by running ‘nixos-help’). { config, lib, pkgs, ... }: - +let + unstable = import { + 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; }; };