nvidia: remove unnecessary settings (defaults)
Alan Pearce alan@alanpearce.eu
Mon, 01 Apr 2024 19:07:31 +0200
1 files changed, 0 insertions(+), 8 deletions(-)
M system/settings/hardware/nvidia-gpu.nix → system/settings/hardware/nvidia-gpu.nix
@@ -3,17 +3,9 @@ , pkgs , 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 = {