xiaomi/common/fix-boot, xiaomi/redmibook/16-pro-2024: init

xiaome: don't expose boot fix as module
This commit is contained in:
Weathercold
2025-01-19 05:47:17 +00:00
committed by Jörg Thalheim
parent b678606690
commit 1f1be9d44b
5 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{ lib, ... }:
{
# Required fix to allow booting NixOS on certain Xiaomi laptops
# https://discourse.nixos.org/t/system-wont-boot-path-efi-stub/29212/12
boot.kernelPatches = lib.singleton {
name = "Fix boot";
patch = null;
extraStructuredConfig = with lib.kernel; {
ACPI_DEBUG = yes;
};
};
}