{ pkgs, lib, ... }: { # support power features such as suspend to ram powerManagement.enable = true; environment.variables = { AMD_VULKAN_ICD = "RADV"; LIBVA_DRIVER_NAME= "radeonsi"; VDPAU_DRIVER = "radeonsi"; }; environment.systemPackages = with pkgs; [ amdgpu_top ]; # fix audio issues # Is this even needed. I'm losing my mindddddd # https://forums.linuxmint.com/viewtopic.php?t=445461 # https://help.ubuntu.com/community/HdaIntelSoundHowto boot.extraModprobeConfig = ''options snd_hda_intel model=generic''; }