From 6cc309ef83350418f4d7f11672de83d1e8019e85 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 29 Jan 2025 23:04:58 -0800 Subject: finish config for workstation --- nix/modules/nvidia.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'nix/modules/nvidia.nix') diff --git a/nix/modules/nvidia.nix b/nix/modules/nvidia.nix index 04d5545..a1dc840 100644 --- a/nix/modules/nvidia.nix +++ b/nix/modules/nvidia.nix @@ -2,20 +2,20 @@ { hardware = { graphics.extraPackages = with pkgs; [ - vaapiVdpau - libvdpau-va-gl - nvidia-vaapi-driver + vaapiVdpau + libvdpau-va-gl + nvidia-vaapi-driver ]; nvidia = { - modesetting.enable = true; - powerManagement = { - enable = true; - finegrained = false; - }; - nvidiaSettings = true; - open = false; - package = config.boot.kernelPackages.nvidiaPackages.stable; + modesetting.enable = true; + powerManagement = { + enable = true; + finegrained = false; + }; + nvidiaSettings = true; + open = false; + package = config.boot.kernelPackages.nvidiaPackages.stable; }; }; } -- cgit