unstable-overlay and hardware encoding #1

Merged
martials merged 4 commits from unstable-overlay into main 2025-01-05 11:11:22 +00:00
Showing only changes of commit 08d1afd90f - Show all commits

View File

@ -44,6 +44,7 @@
# Tells Electron apps to use Wayland # Tells Electron apps to use Wayland
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
NIXOS_CONFIG_PATH = "/etc/nixos"; NIXOS_CONFIG_PATH = "/etc/nixos";
LIBVA_DRIVER_NAME = "iHD"; # For hardware acceleration
}; };
fonts = { fonts = {
@ -129,7 +130,13 @@
hardware = { hardware = {
# Enable OpenGL # Enable OpenGL
graphics.enable = true; graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver # For Broadwell (2014) or newer processors. LIBVA_DRIVER_NAME=iHD
];
};
nvidia = { nvidia = {
# Required # Required
modesetting.enable = true; modesetting.enable = true;