Bootstrap : Nixos enable esp.
This commit is contained in:
parent
d1f2c28e4d
commit
676ae3e6e1
|
@ -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"
|
||||||
|
|
Reference in a new issue