complete restructure

This commit is contained in:
Melvin Ragusa
2026-02-04 22:53:00 +01:00
parent d516c95d65
commit c4cd70fd20
43 changed files with 985 additions and 1229 deletions

View File

@@ -0,0 +1,38 @@
# modules/hardware/gpu-amd.nix
# AMD GPU drivers, Vulkan, and video acceleration
{
config,
pkgs,
lib,
...
}:
{
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
libva-vdpau-driver
libvdpau-va-gl
rocmPackages.clr.icd
];
extraPackages32 = with pkgs.driversi686Linux; [
libva-vdpau-driver
libvdpau-va-gl
];
};
programs.corectrl.enable = true;
hardware.amdgpu.overdrive.enable = true;
environment.systemPackages = with pkgs; [
radeontop
nvtopPackages.amd
vulkan-tools
vulkan-loader
libva-utils
vdpauinfo
];
}