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 17:34:19 +09:00

26 lines
513 B
Nix

{ pkgs, config, lib, 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 ];
};
}