diff options
| author | seraphim <18ycm9tx@anonaddy.me> | 2026-08-04 13:28:39 +0700 |
|---|---|---|
| committer | seraphim <18ycm9tx@anonaddy.me> | 2026-08-04 13:28:39 +0700 |
| commit | be1db27940f3612a0b1a10ca17bfd5be670fd850 (patch) | |
| tree | 4c179819d89a7d842cd9b78fd54c11e06922c3c8 /nixos/modules/features/nvidia | |
| parent | 4eba57f4e787bf97fe7dcb0e1702723aa08de01d (diff) | |
,
Diffstat (limited to 'nixos/modules/features/nvidia')
| -rw-r--r-- | nixos/modules/features/nvidia/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/features/nvidia/default.nix b/nixos/modules/features/nvidia/default.nix index 8a83433..f5f4d8f 100644 --- a/nixos/modules/features/nvidia/default.nix +++ b/nixos/modules/features/nvidia/default.nix @@ -1,6 +1,8 @@ { config, pkgs, ... }: { + # NVIDIA GPU driver. `open = false` uses the proprietary blob; modesetting + # enables modeset + nvidia-drm for proper Wayland support. hardware.nvidia = { modesetting.enable = true; powerManagement.enable = false; @@ -10,6 +12,7 @@ }; environment.systemPackages = with pkgs; [ + # VA-API translation layer so NVIDIA can accelerate video decode. nvidia-vaapi-driver ]; @@ -18,4 +21,4 @@ __GLX_VENDOR_LIBRARY_NAME = "nvidia"; NIXOS_OZONE_WL = "1"; }; -} +}
\ No newline at end of file |
