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 = {
|
2013-02-21 17:33:54 +00:00
|
|
|
canTouchEfiVariables = mkOption {
|
|
|
|
default = false;
|
|
|
|
|
|
|
|
type = types.bool;
|
|
|
|
|
|
|
|
description = "Whether or not the installation process should modify efi boot variables.";
|
|
|
|
};
|
|
|
|
|
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.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|