mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
docs(luks): add an example using keyFile options
This commit is contained in:
parent
7b186e0f81
commit
66b762d3ac
1 changed files with 5 additions and 1 deletions
|
@ -58,7 +58,11 @@
|
|||
content = {
|
||||
type = "luks";
|
||||
name = "crypted2";
|
||||
settings.keyFile = "/tmp/secret.key";
|
||||
settings = {
|
||||
keyFile = "/tmp/secret.key";
|
||||
keyFileSize = 8;
|
||||
keyFileOffset = 2;
|
||||
};
|
||||
extraFormatArgs = [
|
||||
"--iter-time 1" # unsecure but fast for tests
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue