compose secrets.*.type: allow using file path

This commit is contained in:
Kiara Grouwstra 2024-08-03 21:45:59 +00:00
parent a8b21575ff
commit f6d99030f5

View file

@ -17,7 +17,7 @@ in
The secret is created with the contents of the file at the specified path.
${secretRef "file"}
'';
type = types.nullOr types.str;
type = types.nullOr (types.either types.path types.str);
};
environment = mkOption {