mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
17 lines
347 B
Nix
17 lines
347 B
Nix
{ ... }: {
|
|
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
|
|
];
|
|
};
|
|
}
|