Skip to content

Commit

Permalink
readme: add TPM2 unlock notes
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Jul 19, 2024
1 parent 9e18451 commit d436b9f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ sudo nixos-install --flake github:MattSturgeon/nix-config#matebook --no-root-pas

`nixos-install` will install the `matebook` nixos configuration into `/mnt`.

### TPM2 unlock
If the disk partitions are encrypted, you may wish to enroll TPM2 to automatically unlock them during boot.

This should be done while booted into the installed system:

```shell
# E.g.
disk=/dev/nvme0n1p2
pcrs="1+3+5+7+11+12+14"
sudo systemd-cryptenroll --wipe-slot tpm2 --tpm2-device auto --tpm2-pcrs $pcrs $disk
```

## Live USB

Expand Down

0 comments on commit d436b9f

Please sign in to comment.