mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 18:08:38 +08:00
xiaomi/common/fix-boot, xiaomi/redmibook/16-pro-2024: init
xiaome: don't expose boot fix as module
This commit is contained in:
committed by
Jörg Thalheim
parent
b678606690
commit
1f1be9d44b
12
xiaomi/common/fix-boot/default.nix
Normal file
12
xiaomi/common/fix-boot/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user