all repos — nixfiles @ 653f1400f9741808efb899608a8a726c5e0c29c6

System and user configuration, managed by nix and home-manager

nvidia: remove unnecessary settings (defaults)
Alan Pearce alan@alanpearce.eu
Mon, 01 Apr 2024 19:07:31 +0200
commit

653f1400f9741808efb899608a8a726c5e0c29c6

parent

19bee11884e7254945bc28a119a91e5e419efdf2

1 files changed, 0 insertions(+), 8 deletions(-)

jump to
M system/settings/hardware/nvidia-gpu.nixsystem/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 = {