conf
This commit is contained in:
parent
acbe48b736
commit
725e927369
4 changed files with 14 additions and 5 deletions
|
|
@ -27,15 +27,13 @@
|
|||
# LIBVA_DRIVER_NAME = "nvidia";
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
# options: production, beta, vulkan_beta, latest
|
||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
nvidiaSettings = false;
|
||||
};
|
||||
# enable core and mem freq sliders for nvidia
|
||||
services.xserver.deviceSection = ''
|
||||
|
|
|
|||
|
|
@ -4,6 +4,16 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
boot.kernelPatches = [
|
||||
(lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.11")
|
||||
{
|
||||
name = "cros_ec_lpc";
|
||||
patch = pkgs.fetchpatch {
|
||||
url = "https://patchwork.kernel.org/series/840830/mbox/";
|
||||
sha256 = "sha256-7jSEAGInFC+a+ozCyD4dFz3Qgh2JrHskwz7UfswizFw=";
|
||||
};
|
||||
})
|
||||
];
|
||||
# boot.kernelPatches = [
|
||||
# (lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.11")
|
||||
# {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue