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] 2023-04-18 21:22:52 +00:00 committed by GitHub
commit e10586ab84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;