more modules

This commit is contained in:
2026-03-03 10:11:31 +01:00
parent f0edc40e91
commit 7c7df8b7d4
16 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{ ... }: {
flake.nixosModules.gpu-amd = { pkgs, ... }: {
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ "amdgpu" ];
hardware.amdgpu.initrd.enable = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
};
environment.systemPackages = with pkgs; [
vulkan-tools
];
};
}