mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-18 23:59:45 +01:00
11 lines
397 B
Nix
11 lines
397 B
Nix
{ lib, pkgs, ... }: {
|
|
imports = [
|
|
../common
|
|
../common/amd.nix
|
|
];
|
|
|
|
# Newer kernel is better for amdgpu driver updates
|
|
# Requires at least 5.16 for working wi-fi and bluetooth (RZ616, kmod mt7922):
|
|
# https://wireless.wiki.kernel.org/en/users/drivers/mediatek
|
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.1") (lib.mkDefault pkgs.linuxPackages_latest);
|
|
}
|