summary refs log tree commit diff stats
path: root/system/settings/hardware
diff options
context:
space:
mode:
authorAlan Pearce2024-04-01 19:07:31 +0200
committerAlan Pearce2024-04-01 19:07:31 +0200
commit653f1400f9741808efb899608a8a726c5e0c29c6 (patch)
tree58d35ccb3688b0ad7cc2c6a87b123ab5346188eb /system/settings/hardware
parent19bee11884e7254945bc28a119a91e5e419efdf2 (diff)
downloadnixfiles-653f1400f9741808efb899608a8a726c5e0c29c6.tar.lz
nixfiles-653f1400f9741808efb899608a8a726c5e0c29c6.tar.zst
nixfiles-653f1400f9741808efb899608a8a726c5e0c29c6.zip
nvidia: remove unnecessary settings (defaults)
Diffstat (limited to 'system/settings/hardware')
-rw-r--r--system/settings/hardware/nvidia-gpu.nix8
1 files changed, 0 insertions, 8 deletions
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 = {