nixos-hardware/xiaomi/common/fix-boot/default.nix
Weathercold 1f1be9d44b xiaomi/common/fix-boot, xiaomi/redmibook/16-pro-2024: init
xiaome: don't expose boot fix as module
2025-01-19 09:32:04 +01:00

13 lines
321 B
Nix

{ 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;
};
};
}