Move stuff, rm nix-gaming
This commit is contained in:
parent
9afb7422a8
commit
ec1251c8f7
13 changed files with 22 additions and 26 deletions
22
clients/quadtop/nvidia.nix
Normal file
22
clients/quadtop/nvidia.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
hardware.nvidia = {
|
||||
prime = {
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
|
||||
intelBusId = "PCI:00:02:0";
|
||||
nvidiaBusId = "PCI:01:00:0";
|
||||
};
|
||||
open = true;
|
||||
nvidiaSettings = false;
|
||||
modesetting.enable = true;
|
||||
nvidiaPersistenced = true;
|
||||
dynamicBoost.enable = true;
|
||||
};
|
||||
|
||||
programs.gamemode.enable = true;
|
||||
environment.sessionVariables.GAMEMODERUNEXEC = "nvidia-offload";
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue