luks-lvm.nix : disable keyfile

This commit is contained in:
Aaron Honeycutt 2025-02-18 16:58:02 +00:00
parent 144939bb98
commit 9515e7a216

View file

@ -26,10 +26,9 @@
settings = { settings = {
# if you want to use the key for interactive login be sure there is no trailing newline # if you want to use the key for interactive login be sure there is no trailing newline
# for example use `echo -n "password" > /tmp/secret.key` # for example use `echo -n "password" > /tmp/secret.key`
keyFile = "/tmp/secret.key"; #keyFile = "/tmp/secret.key";
allowDiscards = true; allowDiscards = true;
}; };
additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
content = { content = {
type = "lvm_pv"; type = "lvm_pv";
vg = "pool"; vg = "pool";