2020-04-24 23:36:52 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
{
|
|
|
|
options.boot.loader.efi = {
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
canTouchEfiVariables = lib.mkOption {
|
2020-04-24 23:36:52 +00:00
|
|
|
default = false;
|
2024-09-19 14:19:46 +00:00
|
|
|
type = lib.types.bool;
|
2024-04-21 15:54:59 +00:00
|
|
|
description = "Whether the installation process is allowed to modify EFI boot variables.";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
efiSysMountPoint = lib.mkOption {
|
2020-04-24 23:36:52 +00:00
|
|
|
default = "/boot";
|
2024-09-19 14:19:46 +00:00
|
|
|
type = lib.types.str;
|
2024-04-21 15:54:59 +00:00
|
|
|
description = "Where the EFI System Partition is mounted.";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|