mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-09 12:06:09 +01:00
xiaomi/redmibook/16-pro-2024: remove boot fix
This option was enabled in the NixOS kernel config in https://github.com/NixOS/nixpkgs/pull/410324
This commit is contained in:
parent
4602f7e1d3
commit
62acc1db8e
3 changed files with 0 additions and 16 deletions
|
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue