about summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader/efi.nix
blob: 7e739173f9a3006a4bfbf5b10d17e180014cf11e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ pkgs, ... }:

with pkgs.lib;

{
  options.boot.loader.efi = {
    canTouchEfiVariables = mkOption {
      default = false;

      type = types.bool;

      description = "Whether or not the installation process should modify efi boot variables.";
    };

    efiSysMountPoint = mkOption {
      default = "/boot";

      type = types.string;

      description = "Where the EFI System Partition is mounted.";
    };
  };
}