diff --git a/nixos/stolas/disks.nix b/nixos/stolas/disks.nix index 5d48d17..2fc727e 100644 --- a/nixos/stolas/disks.nix +++ b/nixos/stolas/disks.nix @@ -33,7 +33,10 @@ #passwordFile = "/tmp/secret.key"; # Interactive settings = { allowDiscards = true; - #keyFile = "/tmp/secret.key"; + crypttabExtraOpts = [ + "tpm2-device=auto" + "tpm2-pin=yes" + ]; }; #additionalKeyFiles = [ "/tmp/additionalSecret.key" ]; content = {