mirror of
https://github.com/nix-community/disko.git
synced 2024-11-04 05:44:29 +03:00
docs(luks): add an example using keyFile options
This commit is contained in:
parent
7b186e0f81
commit
66b762d3ac
@ -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 New Issue
Block a user