From 653f1400f9741808efb899608a8a726c5e0c29c6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 1 Apr 2024 19:07:31 +0200 Subject: nvidia: remove unnecessary settings (defaults) --- system/settings/hardware/nvidia-gpu.nix | 8 -------- 1 file changed, 8 deletions(-) (limited to 'system') diff --git a/system/settings/hardware/nvidia-gpu.nix b/system/settings/hardware/nvidia-gpu.nix index 8aa3f104..7194c8c3 100644 --- a/system/settings/hardware/nvidia-gpu.nix +++ b/system/settings/hardware/nvidia-gpu.nix @@ -3,17 +3,9 @@ , lib , ... }: -let - nvidia_x11 = config.boot.kernelPackages.nvidia_x11; -in { services.xserver.videoDrivers = [ "nvidia" ]; - boot = { - blacklistedKernelModules = [ "nouveau" ]; - extraModulePackages = [ nvidia_x11 ]; - }; - environment.systemPackages = [ nvidia_x11 pkgs.nvidia-vaapi-driver ]; hardware.nvidia = { modesetting.enable = true; powerManagement = { -- cgit 1.4.1