nixos/modules/boot/basic.nix

19 lines
328 B
Nix
Raw Normal View History

2023-06-09 21:09:52 +08:00
{ efi, timeout ? 5 }: { pkgs, ... }@inputs:
2023-06-05 21:53:13 +08:00
{
config =
{
boot =
{
loader =
{
2023-06-09 21:14:22 +08:00
timeout = timeout;
2023-06-05 21:53:13 +08:00
systemd-boot.enable = true;
efi.canTouchEfiVariables = efi;
};
initrd.systemd.enable = true;
kernelPackages = inputs.pkgs.linuxPackages_xanmod_latest;
};
hardware.enableAllFirmware = true;
};
}