feat(luks): Add settings submodule

The settings submodule mirrors the options which can be set for
boot.initrd.luks.devices.<name>.

The keyFile option is now deprecated and should be declared under settings.
This commit is contained in:
rogarb authored and mergify[bot] committed 2023-07-13 09:17:50 +00:00
1 parent aeebdc1156
commit 68eb09b183
3 files changed
+40 -14

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@
extraOpenArgs = [ "--allow-discards" ];
# 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`
keyFile = "/tmp/secret.key";
settings.keyFile = "/tmp/secret.key";
content = {
type = "lvm_pv";
vg = "pool";