modules/boot: make ESP mount point configurable

This commit is contained in:
Infinidoge 2024-05-05 06:50:46 -04:00
parent 1baac1f5d8
commit 3d0ef49120
No known key found for this signature in database

View file

@ -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;
};
};
})