diff options
Diffstat (limited to 'nixos/modules/system/boot/loader/efi.nix')
-rw-r--r-- | nixos/modules/system/boot/loader/efi.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/loader/efi.nix b/nixos/modules/system/boot/loader/efi.nix new file mode 100644 index 000000000000..7e739173f9a3 --- /dev/null +++ b/nixos/modules/system/boot/loader/efi.nix @@ -0,0 +1,23 @@ +{ pkgs, ... }: + +with pkgs.lib; + +{ + options.boot.loader.efi = { + canTouchEfiVariables = mkOption { + default = false; + + type = types.bool; + + description = "Whether or not the installation process should modify efi boot variables."; + }; + + efiSysMountPoint = mkOption { + default = "/boot"; + + type = types.string; + + description = "Where the EFI System Partition is mounted."; + }; + }; +} |