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