diff --git a/example/luks-lvm.nix b/example/luks-lvm.nix index c6340d0..ad07902 100644 --- a/example/luks-lvm.nix +++ b/example/luks-lvm.nix @@ -30,6 +30,8 @@ type = "luks"; name = "crypted"; 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"; content = { type = "lvm_pv";