2014-04-14 16:26:48 +02:00
|
|
|
{ lib, ... }:
|
2013-02-02 00:03:45 -05:00
|
|
|
{
|
|
|
|
options.boot.loader.efi = {
|
2016-05-31 16:52:40 +02:00
|
|
|
|
2024-08-28 21:19:12 +02:00
|
|
|
canTouchEfiVariables = lib.mkOption {
|
2013-02-21 12:33:54 -05:00
|
|
|
default = false;
|
2024-08-28 21:19:12 +02:00
|
|
|
type = lib.types.bool;
|
2016-05-31 16:52:40 +02:00
|
|
|
description = "Whether the installation process is allowed to modify EFI boot variables.";
|
2013-02-21 12:33:54 -05:00
|
|
|
};
|
|
|
|
|
2024-08-28 21:19:12 +02:00
|
|
|
efiSysMountPoint = lib.mkOption {
|
2013-02-02 00:03:45 -05:00
|
|
|
default = "/boot";
|
2024-08-28 21:19:12 +02:00
|
|
|
type = lib.types.str;
|
2013-02-02 00:03:45 -05:00
|
|
|
description = "Where the EFI System Partition is mounted.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|