mirror of
https://git.sr.ht/~azikx/wyswort
synced 2024-10-30 11:06:19 +00:00
26 lines
513 B
Nix
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 ];
|
|
};
|
|
}
|