1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-03 03:23:35 +02:00
nixos-hardware/framework/13-inch/7040-amd/default.nix

12 lines
397 B
Nix
Raw Normal View History

{ lib, pkgs, ... }: {
imports = [
2023-11-10 22:10:31 +01:00
../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);
}