Compare commits
5 Commits
ec1e3cf942
...
4dea099ecf
Author | SHA1 | Date | |
---|---|---|---|
4dea099ecf | |||
20a5c3a459 | |||
6899497493 | |||
e526849527 | |||
1ba55b468d |
@ -1,4 +1,9 @@
|
|||||||
{ pkgs, config, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
environment.variables.VDPAU_DRIVER = "va_gl";
|
environment.variables.VDPAU_DRIVER = "va_gl";
|
||||||
@ -16,6 +21,7 @@
|
|||||||
extraPackages32 = with pkgs.driversi686Linux; [ intel-vaapi-driver ];
|
extraPackages32 = with pkgs.driversi686Linux; [ intel-vaapi-driver ];
|
||||||
};
|
};
|
||||||
nvidia = {
|
nvidia = {
|
||||||
|
nvidiaSettings = true;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
prime = {
|
prime = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user