mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 08:00:05 +01:00
add examples to luks-options
This commit is contained in:
parent
591b53f72d
commit
73aa16c175
1 changed files with 2 additions and 0 deletions
|
|
@ -14,11 +14,13 @@
|
||||||
type = lib.types.nullOr optionTypes.absolute-pathname;
|
type = lib.types.nullOr optionTypes.absolute-pathname;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Path to the key for encryption";
|
description = "Path to the key for encryption";
|
||||||
|
example = "/tmp/disk.key";
|
||||||
};
|
};
|
||||||
extraFormatArgs = lib.mkOption {
|
extraFormatArgs = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = "Extra arguments to pass to `cryptsetup luksFormat` when formatting";
|
description = "Extra arguments to pass to `cryptsetup luksFormat` when formatting";
|
||||||
|
example = [ "--pbkdf argon2id" ];
|
||||||
};
|
};
|
||||||
extraOpenArgs = lib.mkOption {
|
extraOpenArgs = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue