2014-04-14 16:26:48 +02:00
|
|
|
{ lib, ... }:
|
2013-02-02 06:03:45 +01:00
|
|
|
|
2014-04-14 16:26:48 +02:00
|
|
|
with lib;
|
2013-02-02 06:03:45 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
options.boot.loader.efi = {
|
2016-05-31 16:52:40 +02:00
|
|
|
|
2013-02-21 18:33:54 +01:00
|
|
|
canTouchEfiVariables = mkOption {
|
|
|
|
default = false;
|
|
|
|
type = 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 18:33:54 +01:00
|
|
|
};
|
|
|
|
|
2013-02-02 06:03:45 +01:00
|
|
|
efiSysMountPoint = mkOption {
|
|
|
|
default = "/boot";
|
2015-08-17 19:52:45 +02:00
|
|
|
type = types.str;
|
2013-02-02 06:03:45 +01:00
|
|
|
description = "Where the EFI System Partition is mounted.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|