Merge pull request #1499 from Weathercold/redmibook-16-pro-2024

xiaomi/redmibook/16-pro-2024: remove boot fix
This commit is contained in:
Jörg Thalheim
2025-06-13 11:51:37 +02:00
committed by GitHub
3 changed files with 0 additions and 16 deletions

View File

@@ -1,12 +0,0 @@
{ 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;
};
};
}

View File

@@ -1,8 +1,5 @@
# Xiaomi Redmibook 16 Pro (2024)
Note that the boot fix requires building the kernel. As such, you might run out
of space during nixos-rebuild if you mount tmpfs on `/tmp`.
## Tested Hardware
```shellsession

View File

@@ -1,7 +1,6 @@
{ lib, ... }:
{
imports = [
../../fix-boot-quirk.nix
../../../common/cpu/intel
../../../common/pc/laptop
../../../common/pc/ssd