diff --git a/configuration.nix b/configuration.nix index d8108e2..03a328f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -25,13 +25,12 @@ with pkgs; }; # Intel CPU tweaks - hardware = { - enableRedistributableFirmware = true; - cpu.intel.updateMicrocode = true; - }; + hardware.enableRedistributableFirmware = true; services.fwupd.enable = true; - hardware.opengl.extraPackages = [ vaapiIntel vaapiVdpau libvdpau-va-gl ]; + # Hardware video acceleration + hardware.opengl.extraPackages = + [ intel-media-driver vaapiIntel vaapiVdpau libvdpau-va-gl ]; # Bootloader configuration boot.loader = { diff --git a/modules/gui.nix b/modules/gui.nix index a12706e..d636bf4 100644 --- a/modules/gui.nix +++ b/modules/gui.nix @@ -48,6 +48,7 @@ with pkgs; export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket export GIT_CONFIG_NOSYSTEM=true export SYSTEMD_LESS=FRSMK + export LIBVA_DRIVER_NAME=iHD ''; wrapperFeatures.gtk = true; }; diff --git a/modules/power.nix b/modules/power.nix index 82349ff..1983a62 100644 --- a/modules/power.nix +++ b/modules/power.nix @@ -58,7 +58,7 @@ options mac80211 beacon_loss_count=500 options iwlwifi power_save=1 options iwlmvm power_scheme=3 - options i915 enable_dc=4 enable_fbc=1 enable_psr=1 enable_psr2_sel_fetch=1 disable_power_well=1 + options i915 enable_guc=2 ''; }