elitak / nixos-infect

[GPLv3+] install nixos over the existing OS in a DigitalOcean droplet (and others with minor modifications)
GNU General Public License v3.0
1.3k stars 214 forks source link

explicitly check for ESP mount #213

Open keeakita opened 1 month ago

keeakita commented 1 month ago

Fixes #199

On some modern versions of Ubuntu on DigitalOcean, for some reason, there is a mounted /boot/efi despite the system not using it to boot. This commit changes the logic slightly to decouple the mount logic from the EFI logic.