diff options
| author | seth <[email protected]> | 2023-02-26 12:19:24 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-26 12:19:24 -0500 |
| commit | 132974259ccd0fe21305b0b07d9873668f10a417 (patch) | |
| tree | 7ce42f631d8eb5d0c7ef718f631a557314fd0c7a | |
| parent | 6b1c3e3be67152002025831e6fdd951e86edf3f8 (diff) | |
add tpm2-device=auto to crypttab
| -rw-r--r-- | hosts/glados/hardware-configuration.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/glados/hardware-configuration.nix b/hosts/glados/hardware-configuration.nix index b96530a..74f9d71 100644 --- a/hosts/glados/hardware-configuration.nix +++ b/hosts/glados/hardware-configuration.nix @@ -23,7 +23,10 @@ options = ["subvol=root" "compress=zstd" "noatime"]; }; - boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/bbbc1f37-53f5-4776-a70e-f2779179de50"; + boot.initrd.luks.devices."cryptroot" = { + device = "/dev/disk/by-uuid/bbbc1f37-53f5-4776-a70e-f2779179de50"; + crypttabExtraOpts = ["tpm2-device=auto"]; + }; fileSystems."/var/log" = { device = "/dev/mapper/cryptroot"; |
