mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-05 04:21:44 +02:00
fix: macbook do not have a tpm2 device for luks auto unlock
Signed-off-by: Ryan Yin <xiaoyin_c@qq.com>
This commit is contained in:
@@ -134,9 +134,6 @@ cryptsetup luksOpen /dev/nvme0n1p6 crypted-nixos
|
||||
|
||||
# show disk status
|
||||
lsblk
|
||||
|
||||
# setup the automatic unlock via the tpm2 chip
|
||||
systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7 /dev/nvme0n1p6
|
||||
```
|
||||
|
||||
Formatting the root partition:
|
||||
|
||||
Reference in New Issue
Block a user