{ # Bootloader configuration # This example uses systemd-boot for UEFI systems # For BIOS systems, use GRUB instead # UEFI boot loader (systemd-boot) boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; # Alternative: GRUB for BIOS systems # boot.loader.grub.enable = true; # boot.loader.grub.device = "/dev/sda"; # or "nodev" for UEFI }