diff --git a/nixos/nvidia.nix b/nixos/nvidia.nix index fc2159d..c660493 100644 --- a/nixos/nvidia.nix +++ b/nixos/nvidia.nix @@ -6,7 +6,7 @@ ... }: let # Using beta driver for recent GPUs like RTX 4070 - nvidiaDriverChannel = config.boot.kernelPackages.nvidiaPackages.beta; + nvidiaDriverChannel = config.boot.kernelPackages.nvidiaPackages.production; in { # Video drivers configuration for Xorg and Wayland services.xserver.videoDrivers = ["nvidia"]; # Simplified - other modules are loaded automatically @@ -102,4 +102,7 @@ in { mesa-demos libva-utils # VA-API debugging tools ]; + + # Enable Nvidia container toolkit for GPU acceleration in containers (docker) + hardware.nvidia-container-toolkit.enable = true; } diff --git a/nixos/omen.nix b/nixos/omen.nix index 794f8b6..d1efffb 100644 --- a/nixos/omen.nix +++ b/nixos/omen.nix @@ -37,6 +37,7 @@ in { boot.extraModulePackages = [hp-omen-linux-module]; boot.kernelModules = ["hp-wmi"]; + boot.kernelParams = ["hp_wmi.force_slow_fan_control=1"]; users.groups.omen-rgb = {}; users.users.${config.var.username}.extraGroups = ["omen-rgb"];