revert toaster

This commit is contained in:
Grisha Shipunov 2024-12-31 13:52:57 +00:00
parent 677abb7344
commit 50066a4d20
30 changed files with 1468 additions and 0 deletions

16
hosts/toaster/amd.nix Normal file
View file

@ -0,0 +1,16 @@
{ pkgs, config, ... }: {
boot.initrd.kernelModules = [ "amdgpu" ];
hardware.opengl = {
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
rocm-opencl-icd
rocm-opencl-runtime
amdvlk
];
extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
};
}