Bootstrap : Nixos enable esp.

This commit is contained in:
Dmitry Voronin 2024-02-21 03:11:58 +03:00
parent d1f2c28e4d
commit 676ae3e6e1

View file

@ -60,6 +60,7 @@ function bootstrap_nixos() {
parted -s "${target}" mkpart primary 512MB 100% parted -s "${target}" mkpart primary 512MB 100%
parted -s "${target}" name 1 NIXBOOT parted -s "${target}" name 1 NIXBOOT
parted -s "${target}" name 2 NIXROOT parted -s "${target}" name 2 NIXROOT
parted -s "${target}" set 1 esp on
# Format. # Format.
mkfs.fat -F 32 "${target}1" mkfs.fat -F 32 "${target}1"