diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2025-01-08 14:13:31 +0200 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2025-01-08 14:13:31 +0200 |
commit | ecaf5df80adb914875ff926410e9226d72f8fa05 (patch) | |
tree | 28548d3b2ffad3657c3de82ca6d3d0e97957002a /nixos/nvidia.nix | |
parent | 7d88765f5dc8555e548c8a5b320baec2b3f3f3d1 (diff) | |
download | nixos-configuration-ecaf5df80adb914875ff926410e9226d72f8fa05.tar.gz nixos-configuration-ecaf5df80adb914875ff926410e9226d72f8fa05.tar.bz2 nixos-configuration-ecaf5df80adb914875ff926410e9226d72f8fa05.zip |
chore(fmt): use nixpkgs-fmt
Diffstat (limited to 'nixos/nvidia.nix')
-rw-r--r-- | nixos/nvidia.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/nixos/nvidia.nix b/nixos/nvidia.nix index e28d41e..bb2f679 100644 --- a/nixos/nvidia.nix +++ b/nixos/nvidia.nix @@ -1,8 +1,7 @@ -{ - config, - lib, - pkgs, - ... +{ config +, lib +, pkgs +, ... }: { specialisation = { powersave.configuration = { @@ -15,14 +14,14 @@ }; }; }; - boot.kernelModules = ["nvidia_uvm"]; + boot.kernelModules = [ "nvidia_uvm" ]; hardware.graphics = { enable = true; extraPackages = with pkgs; [ libvdpau-va-gl ]; }; - services.xserver.videoDrivers = ["nvidia"]; + services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = { dynamicBoost.enable = true; prime = { |