hyprland: Add nvidia-vaapi-driver
This commit is contained in:
parent
a98076de23
commit
9b6fba74d0
3 changed files with 9 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
boot.extraModprobeConfig = "options kvm_amd nested=1";
|
||||
boot.kernelParams = [
|
||||
"nvidia_drm.fbdev=1"
|
||||
"nvidia.NVreg_PreserveVideoMemoryAllocations=1"
|
||||
];
|
||||
|
||||
boot.initrd.postDeviceCommands = lib.mkAfter ''
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
wl-clipboard
|
||||
gnome.nautilus
|
||||
pavucontrol
|
||||
nvidia-vaapi-driver
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
|
@ -19,6 +20,8 @@
|
|||
XDG_SESSION_TYPE = "wayland";
|
||||
GBM_BACKEND = "nvidia-drm";
|
||||
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||
NVD_BACKEND = "direct";
|
||||
MOZ_DISABLE_RDD_SANDBOX = 1;
|
||||
NIXOS_OZONE_WL = 1;
|
||||
};
|
||||
|
||||
|
|
|
@ -313,6 +313,11 @@
|
|||
"browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned" = "";
|
||||
"browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines" = "";
|
||||
|
||||
# https://github.com/elFarto/nvidia-vaapi-driver?tab=readme-ov-file#firefox
|
||||
"media.ffmpeg.vaapi.enabled" = true;
|
||||
"media.rdd-ffmpeg.enabled" = true;
|
||||
"media.av1.enabled" = false;
|
||||
|
||||
# Options for the firefox-ui-fix using Photon
|
||||
# https://github.com/black7375/Firefox-UI-Fix/blob/master/user.js
|
||||
"userChrome.tab.connect_to_window" = true;
|
||||
|
|
Loading…
Reference in a new issue