summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/glados/hardware-configuration.nix5
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";