From 61202b51c7212088989e9627755d2e2e0474f2d3 Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Sun, 25 Aug 2024 18:41:15 +0800 Subject: [PATCH] fix: resolve issue with obs-studio and NVENC Manually forced nvidia_uvm kernel module to load when system boots. Fix for https://github.com/NixOS/nixpkgs/issues/272413 --- nixos/nvidia.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/nvidia.nix b/nixos/nvidia.nix index 1f20558..efc198f 100644 --- a/nixos/nvidia.nix +++ b/nixos/nvidia.nix @@ -15,6 +15,7 @@ }; }; }; + boot.kernelModules = ["nvidia_uvm"]; hardware.graphics = { enable = true; extraPackages = with pkgs; [