format type: add dotenv and ini

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew 2023-01-16 09:51:41 -03:00
parent e18eefd2b1
commit eb09a61dc9
9 changed files with 125 additions and 28 deletions

View file

@ -41,7 +41,7 @@ let
'';
};
format = mkOption {
type = types.enum ["yaml" "json" "binary"];
type = types.enum ["yaml" "json" "binary" "dotenv" "ini"];
default = cfg.defaultSopsFormat;
description = ''
File format used to decrypt the sops secret.