This commit is contained in:
iFargle 2023-07-12 12:09:52 +09:00
parent 91d5fca394
commit 6a3c987808
2 changed files with 7 additions and 4 deletions

View file

@ -32,10 +32,10 @@
enable = true; enable = true;
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
libinput = { # libinput = {
enable = true; # enable = true;
touchpad.tapping = true; # touchpad.tapping = true;
}; # };
# Enable nVidia drivers # Enable nVidia drivers
videoDrivers = [ "nvidia" ]; videoDrivers = [ "nvidia" ];

View file

@ -32,7 +32,10 @@
opengl.enable = true; opengl.enable = true;
opengl.driSupport32Bit = true; opengl.driSupport32Bit = true;
nvidia.powerManagement.enable = true;
nvidia.prime = { nvidia.prime = {
offload.enable = true;
intelBusId = lib.mkDefault "PCI:0:2:0"; intelBusId = lib.mkDefault "PCI:0:2:0";
nvidiaBusId = lib.mkDefault "PCI:1:0:0"; nvidiaBusId = lib.mkDefault "PCI:1:0:0";
}; };