1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2025-01-30 12:45:02 +01:00
nixos-hardware/xiaomi/fix-boot-quirk.nix

13 lines
321 B
Nix
Raw Normal View History

2025-01-19 05:47:17 +00:00
{ 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;
};
};
}