mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
Merge #208
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:
1 file changed
+2
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user