mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
19 lines
330 B
Nix
19 lines
330 B
Nix
_: {
|
|
flake.nixosModules.bootloader = {
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# disable other bootloaders
|
|
boot.loader.systemd-boot.enable = false;
|
|
boot.loader.grub.enable = false;
|
|
|
|
boot.loader.limine = {
|
|
enable = true;
|
|
efiSupport = true;
|
|
};
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
};
|
|
}
|