summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorseth <[email protected]>2023-07-25 18:55:23 -0400
committerseth <[email protected]>2023-07-25 18:55:23 -0400
commit9196d417f16c30b738e19c3089a31b1d5edb14c3 (patch)
treea02bc296ceb5d3c29cec3e2daa06e8d12d9bd38c /hosts
parent6ca40069a34134c7027a06c01722930a70761dd3 (diff)
hosts/glados: allowDiscards for luks
Diffstat (limited to 'hosts')
-rw-r--r--hosts/glados/hardware-configuration.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/glados/hardware-configuration.nix b/hosts/glados/hardware-configuration.nix
index ba90d41..21afbab 100644
--- a/hosts/glados/hardware-configuration.nix
+++ b/hosts/glados/hardware-configuration.nix
@@ -24,6 +24,7 @@
boot.initrd.luks.devices."cryptroot" = {
device = "/dev/disk/by-uuid/bbbc1f37-53f5-4776-a70e-f2779179de50";
+ allowDiscards = true;
crypttabExtraOpts = ["tpm2-device=auto"];
};