14 lines
397 B
Nix
Executable File
14 lines
397 B
Nix
Executable File
{pkgs, lib, config, ...}: {
|
|
options = {
|
|
movOpts.bootLoader.enable = lib.mkEnableOption "enables bootloader config";
|
|
};
|
|
config = lib.mkIf config.movOpts.bootLoader.enable {
|
|
boot = {
|
|
loader.systemd-boot.enable = true;
|
|
loader.efi.canTouchEfiVariables = true;
|
|
loader.systemd-boot.configurationLimit = 10;
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
};
|
|
};
|
|
}
|