diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-25 18:41:15 +0800 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-25 18:41:15 +0800 |
commit | 61202b51c7212088989e9627755d2e2e0474f2d3 (patch) | |
tree | 3b33f245e2d2a54314d353d655175b3a46de5fce | |
parent | 5515d4a9cd65259087031851e99a1897f10cb787 (diff) | |
download | nixos-configuration-61202b51c7212088989e9627755d2e2e0474f2d3.tar.gz nixos-configuration-61202b51c7212088989e9627755d2e2e0474f2d3.tar.bz2 nixos-configuration-61202b51c7212088989e9627755d2e2e0474f2d3.zip |
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
-rw-r--r-- | nixos/nvidia.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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; [ |