Add graphics related configurations

This commit is contained in:
Yorick Barbanneau 2023-09-24 21:16:44 +02:00
parent 51bc9ff9d6
commit c145de3b20

View file

@ -42,4 +42,12 @@
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.opengl.enable = true;
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages = with pkgs; [
intel-media-driver
];
}