1
0
Fork 0
mirror of https://git.sr.ht/~azikx/wyswort synced 2024-10-30 11:06:19 +00:00
wyswort/host/system/hardware.nix
2024-10-15 22:18:01 +09:00

24 lines
563 B
Nix

{ pkgs, inputs, ... }: {
imports = [ "${inputs.nixos-hardware}/lenovo/thinkpad/t14/amd/gen1" ];
hardware = {
bluetooth = { # BT
enable = true;
powerOnBoot = true;
};
graphics = { # GPU
enable = true;
enable32Bit = true;
extraPackages = with pkgs;
[
amdvlk
# rocmPackages.clr.icd
# vaapiVdpau
# libvdpau-va-gl
];
extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
};
system76.enableAll = true;
firmware = [ pkgs.linux-firmware ];
};
}