depot/third_party/nixpkgs/nixos/modules/system/boot/loader/efi.nix

21 lines
433 B
Nix
Raw Normal View History

{ lib, ... }:
with lib;
{
options.boot.loader.efi = {
canTouchEfiVariables = mkOption {
default = false;
type = types.bool;
description = lib.mdDoc "Whether the installation process is allowed to modify EFI boot variables.";
};
efiSysMountPoint = mkOption {
default = "/boot";
type = types.str;
description = lib.mdDoc "Where the EFI System Partition is mounted.";
};
};
}