basic gui setup for desktop
This commit is contained in:
parent
4dd5416eb6
commit
d0c1518df6
10 changed files with 228 additions and 114 deletions
|
|
@ -2,7 +2,7 @@ gdisk $DISK
|
|||
mkfs.fat -F 32 $ESPPART
|
||||
cryptsetup luksFormat $ROOTPART
|
||||
cryptsetup open $ROOTPART root
|
||||
mkfs.ext4 $ROOTPART
|
||||
mkfs.ext4 /dev/mapper/root
|
||||
mount /dev/mapper/root /mnt
|
||||
mount $ESPPART --mkdir -o umask=077 /mnt/boot
|
||||
mkdir /mnt/var
|
||||
|
|
@ -11,5 +11,5 @@ swapon /mnt/var/swapfile
|
|||
nixos-generate-config --root /mnt --kernel latest --flake
|
||||
#copy backup
|
||||
nixos-install --no-root-passwd --no-channel-copy --flake "/mnt/etc/nixos#nixos"
|
||||
sbctl enroll-keys --yes-this-might-brick-my-machine
|
||||
sbctl enroll-keys --yolo
|
||||
systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+2+7 $ROOTPART
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue