81b1992044
- nvidia.nix: set powerManagement.finegrained = false explicitly - packages.nix: add libva-utils, vdpauinfo, lazydocker, mangohud - configuration.nix: enable programs.gamemode https://claude.ai/code/session_01JwjdjwvgMGW4TcpYi4MZ6n
26 lines
508 B
Nix
26 lines
508 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
hardware = {
|
|
nvidia = {
|
|
modesetting.enable = true;
|
|
powerManagement.enable = true;
|
|
powerManagement.finegrained = false;
|
|
open = false;
|
|
nvidiaSettings = true;
|
|
};
|
|
graphics = {
|
|
enable = true;
|
|
enable32Bit = true;
|
|
};
|
|
};
|
|
|
|
environment.sessionVariables = {
|
|
LIBVA_DRIVER_NAME = "nvidia";
|
|
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
|
NVD_BACKEND = "direct";
|
|
};
|
|
}
|