mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 01:48:50 +08:00
common/gpu/nvidia*: Migrate to common/gpu/nvidia/* and add non-prime
Fixes #338
This commit is contained in:
8
common/gpu/nvidia/default.nix
Normal file
8
common/gpu/nvidia/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
vaapiVdpau
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user