intel graphic settings for surface

This commit is contained in:
twoneis 2023-12-28 19:06:27 +01:00
parent f99bf2770c
commit 64cafcb0b7

View file

@ -1,10 +1,23 @@
{ ... }: { { pkgs, ... }: {
imports = [ imports = [
./hardware-config.nix ./hardware-config.nix
]; ];
networking.hostName = "surface"; networking.hostName = "surface";
# Enable OpenGL
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
intel-media-driver
vaapiIntel
vaapiVdpau
libvdpau-va-gl
];
};
services.auto-cpufreq = { services.auto-cpufreq = {
enable = true; enable = true;
settings = { settings = {