208: add examples to luks-options r=Lassulus a=Stunkymonkey



Co-authored-by: Felix Bühler <Stunkymonkey@users.noreply.github.com>
This commit is contained in:
bors[bot]andFelix Bühler authored and GitHub committed 2023-04-18 21:22:52 +00:00
commit e10586ab84
1 file changed
+2
+2
View File
@@ -14,11 +14,13 @@
type = lib.types.nullOr optionTypes.absolute-pathname;
default = null;
description = "Path to the key for encryption";
example = "/tmp/disk.key";
};
extraFormatArgs = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
description = "Extra arguments to pass to `cryptsetup luksFormat` when formatting";
example = [ "--pbkdf argon2id" ];
};
extraOpenArgs = lib.mkOption {
type = lib.types.listOf lib.types.str;