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
commit a52bd9d655
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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) # 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 ## Tested Hardware
```shellsession ```shellsession

View file

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