Merge branch 'master' of ssh://ssh.nx2.site:50022/nx2/dotfiles
This commit is contained in:
@@ -42,10 +42,10 @@
|
||||
boot.initrd.kernelModules = if host == "NxXPS" then [ "i915" ] else [];
|
||||
|
||||
environment.variables = if host == "NxXPS" then {
|
||||
VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkDefault "va_gl");
|
||||
VDPAU_DRIVER = lib.mkIf config.hardware.graphics.enable (lib.mkDefault "va_gl");
|
||||
} else {};
|
||||
|
||||
hardware.opengl.extraPackages = if host == "NxXPS" then with pkgs; [
|
||||
hardware.graphics.extraPackages = if host == "NxXPS" then with pkgs; [
|
||||
(if (lib.versionOlder (lib.versions.majorMinor lib.version) "24.11") then vaapiIntel else intel-vaapi-driver)
|
||||
libvdpau-va-gl
|
||||
intel-media-driver
|
||||
|
||||
Reference in New Issue
Block a user