about summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader/efi.nix
blob: 2661f362249dbd73c33f3504cf248dcb6deb1888 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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.";
    };
  };
}