mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 20:08:44 +08:00
19 lines
328 B
Nix
19 lines
328 B
Nix
{ efi, timeout ? 5 }: { pkgs, ... }@inputs:
|
|
{
|
|
config =
|
|
{
|
|
boot =
|
|
{
|
|
loader =
|
|
{
|
|
timeout = timeout;
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = efi;
|
|
};
|
|
initrd.systemd.enable = true;
|
|
kernelPackages = inputs.pkgs.linuxPackages_xanmod_latest;
|
|
};
|
|
hardware.enableAllFirmware = true;
|
|
};
|
|
}
|