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