aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules/system/boot/loader/efi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/modules/system/boot/loader/efi.nix')
-rw-r--r--nixpkgs/nixos/modules/system/boot/loader/efi.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/nixos/modules/system/boot/loader/efi.nix b/nixpkgs/nixos/modules/system/boot/loader/efi.nix
new file mode 100644
index 00000000000..6043c904c45
--- /dev/null
+++ b/nixpkgs/nixos/modules/system/boot/loader/efi.nix
@@ -0,0 +1,20 @@
+{ lib, ... }:
+
+with lib;
+
+{
+ options.boot.loader.efi = {
+
+ canTouchEfiVariables = mkOption {
+ default = false;
+ type = types.bool;
+ description = "Whether the installation process is allowed to modify EFI boot variables.";
+ };
+
+ efiSysMountPoint = mkOption {
+ default = "/boot";
+ type = types.str;
+ description = "Where the EFI System Partition is mounted.";
+ };
+ };
+}