From 73aa16c175a2f8b97144c5e464328f269fa00582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=BChler?= Date: Tue, 18 Apr 2023 23:19:53 +0200 Subject: [PATCH] add examples to luks-options --- types/luks.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/luks.nix b/types/luks.nix index 350a238..03cf309 100644 --- a/types/luks.nix +++ b/types/luks.nix @@ -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;