Boot Leaf
cells/core/boot.nix attaches bootloader and boot behavior to the base branch.
Up: core leaves
Down: base branch
What this leaf does
It enables Btrfs support, selects a recent kernel package set, configures GRUB for EFI, uses a short timeout, passes quiet boot parameters, and caps journal storage.
config.my.branches.base.nixosModules = [
({ pkgs, ... }: {
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.loader.grub.enable = true;
boot.loader.grub.efiSupport = true;
})
];Why it belongs to base
Boot behavior is foundational. A workstation selecting base should have bootloader behavior before desktop or security leaves are considered.
Design note
The real hardware file decides disk layout and filesystems. This leaf defines generic boot policy. That keeps generated hardware facts separate from reusable boot choices.