2022-12-04 13:45:43 +00:00
|
|
|
{...}: {
|
2022-11-24 13:29:48 +00:00
|
|
|
services.secrets = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
secrets = {
|
|
|
|
system_mail_password = {
|
|
|
|
user = "root";
|
|
|
|
group = "root";
|
|
|
|
fetchScript = ''
|
2023-09-11 23:22:18 +01:00
|
|
|
simple_get "/api-keys/chaos_mail/system" .password > "$secretFile"
|
2022-11-24 13:29:48 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|