diff options
author | Alan Pearce | 2024-04-01 19:07:31 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-01 19:07:31 +0200 |
commit | 653f1400f9741808efb899608a8a726c5e0c29c6 (patch) | |
tree | 58d35ccb3688b0ad7cc2c6a87b123ab5346188eb /system | |
parent | 19bee11884e7254945bc28a119a91e5e419efdf2 (diff) | |
download | nixfiles-653f1400f9741808efb899608a8a726c5e0c29c6.tar.lz nixfiles-653f1400f9741808efb899608a8a726c5e0c29c6.tar.zst nixfiles-653f1400f9741808efb899608a8a726c5e0c29c6.zip |
nvidia: remove unnecessary settings (defaults)
Diffstat (limited to 'system')
-rw-r--r-- | system/settings/hardware/nvidia-gpu.nix | 8 |
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 = { |