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

Add support for VMs that use efi sysmount #212

Open SuperSandro2000 opened 2 months ago

SuperSandro2000 commented 2 months ago

Tested this with the following command in a private cloud where the boot partition is only 20MB and efi sysmount is required. Changing the formatting is rather cumbersome in that enviroment.

curl https://raw.githubusercontent.com/SuperSandro2000/nixos-infect/boot-efi/nixos-infect | NIX_CHANNEL=nixos-24.05 NIXOS_CONFIG=https://gist.github.com/SuperSandro2000/123456789/raw/123456789/configuration.nix sudo -E bash -x
SuperSandro2000 commented 1 month ago

@elitak can you take a look at this PR?