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