mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
more stable nvidia version & fan control
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"];
|
||||||
|
|||||||
Reference in New Issue
Block a user