From 3d0ef4912062a8cb564403e6729723c0fa8b8b5b Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 5 May 2024 06:50:46 -0400 Subject: [PATCH] modules/boot: make ESP mount point configurable --- modules/modules/boot.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/modules/boot.nix b/modules/modules/boot.nix index 44f3ff3..6fc6418 100644 --- a/modules/modules/boot.nix +++ b/modules/modules/boot.nix @@ -11,6 +11,7 @@ in grub = { enable = mkBoolOpt false; + efiSysMountPoint = mkOpt path "/boot/efi"; }; systemd-boot.enable = mkBoolOpt false; }; @@ -37,7 +38,7 @@ in }; efi = { canTouchEfiVariables = mkDefault false; - efiSysMountPoint = mkDefault "/boot/efi"; + efiSysMountPoint = cfg.grub.efiSysMountPoint; }; }; })