mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
commit
3cc8c47af3
2 changed files with 5 additions and 7 deletions
|
@ -4,6 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../common/cpu/amd
|
../../../../common/cpu/amd
|
||||||
|
../../../../common/gpu/amd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
@ -11,13 +12,9 @@
|
||||||
# either crashes or is not able to attach to the GPU depending on
|
# either crashes or is not able to attach to the GPU depending on
|
||||||
# the kernel version. I've seen no issues with the IOMMU disabled.
|
# the kernel version. I've seen no issues with the IOMMU disabled.
|
||||||
#
|
#
|
||||||
# BIOS version 1.13 claims to fix IOMMU issues, but we leave the
|
# BIOS version 1.13 fixes the IOMMU issues, but we leave the IOMMU
|
||||||
# IOMMU off to avoid a sad experience for those people that drew
|
# in software mode to avoid a sad experience for those people that drew
|
||||||
# the short straw when they bought their laptop.
|
# the short straw when they bought their laptop.
|
||||||
"iommu=off"
|
"iommu=soft"
|
||||||
];
|
];
|
||||||
|
|
||||||
# As of writing this, Linux 5.8 is the oldest kernel that is still
|
|
||||||
# supported and has decent Renoir support.
|
|
||||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.8") pkgs.linuxPackages_latest;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
|
../../../common/pc/laptop/ssd
|
||||||
../../../common/pc/laptop/acpi_call.nix
|
../../../common/pc/laptop/acpi_call.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue