2025.04.30-20:50
This commit is contained in:
27
nixos_24.11_cinnamon/config/gpu-intel.nix
Executable file
27
nixos_24.11_cinnamon/config/gpu-intel.nix
Executable file
@ -0,0 +1,27 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
boot.initrd.kernelModules = [ "i915" ];
|
||||
|
||||
# Enable framebuffer compression (FBC)
|
||||
boot.kernelParams = [ "i915.enable_fbc=1" ];
|
||||
|
||||
# Enable OpenGL drivers
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||||
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
];
|
||||
};
|
||||
|
||||
# Enables Bluetooth
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user