more stable nvidia version & fan control

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-02-28 22:37:32 +01:00
parent 3689215480
commit 29fc893847
2 changed files with 5 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
... ...
}: let }: let
# Using beta driver for recent GPUs like RTX 4070 # Using beta driver for recent GPUs like RTX 4070
nvidiaDriverChannel = config.boot.kernelPackages.nvidiaPackages.beta; nvidiaDriverChannel = config.boot.kernelPackages.nvidiaPackages.production;
in { in {
# Video drivers configuration for Xorg and Wayland # Video drivers configuration for Xorg and Wayland
services.xserver.videoDrivers = ["nvidia"]; # Simplified - other modules are loaded automatically services.xserver.videoDrivers = ["nvidia"]; # Simplified - other modules are loaded automatically
@@ -102,4 +102,7 @@ in {
mesa-demos mesa-demos
libva-utils # VA-API debugging tools libva-utils # VA-API debugging tools
]; ];
# Enable Nvidia container toolkit for GPU acceleration in containers (docker)
hardware.nvidia-container-toolkit.enable = true;
} }

View File

@@ -37,6 +37,7 @@
in { in {
boot.extraModulePackages = [hp-omen-linux-module]; boot.extraModulePackages = [hp-omen-linux-module];
boot.kernelModules = ["hp-wmi"]; boot.kernelModules = ["hp-wmi"];
boot.kernelParams = ["hp_wmi.force_slow_fan_control=1"];
users.groups.omen-rgb = {}; users.groups.omen-rgb = {};
users.users.${config.var.username}.extraGroups = ["omen-rgb"]; users.users.${config.var.username}.extraGroups = ["omen-rgb"];