From 336c8f5d3a79a4631627a43fc958179e5c1d1fea Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Sun, 24 Nov 2024 21:30:04 +0100 Subject: [PATCH] system: update nvidia drivers --- system/core/boot.nix | 2 -- system/hardware/nvidia.nix | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/system/core/boot.nix b/system/core/boot.nix index 11e3551..455d7db 100644 --- a/system/core/boot.nix +++ b/system/core/boot.nix @@ -30,7 +30,5 @@ "rd.udev.log_level=3" "udev.log_priority=3" ]; - - kernelPackages = pkgs.linuxPackages_latest; }; } diff --git a/system/hardware/nvidia.nix b/system/hardware/nvidia.nix index 9a87978..1f2026e 100644 --- a/system/hardware/nvidia.nix +++ b/system/hardware/nvidia.nix @@ -1,11 +1,12 @@ {config, ...}: { + hardware.graphics.enable = true; services.xserver.videoDrivers = ["nvidia"]; hardware.nvidia = { modesetting.enable = true; powerManagement.enable = false; powerManagement.finegrained = false; - open = false; + open = true; nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.stable; + package = config.boot.kernelPackages.nvidiaPackages.beta; }; }