可复制的本地主机
安装
parted /dev/sda mklabel gpt
parted /dev/sda mkpart EFI fat32 0Q2M
parted /dev/sda set 1 esp on
parted /dev/sda mkpart NIX ext4 512M 100%
cryptsetup luksFormat /dev/sda2
cryptsetup open /dev/sda2 nix
mkfs.vfat -F32 /dev/sda1
mkfs.ext4 /dev