16 lines
283 B
Nix
16 lines
283 B
Nix
{...}: {
|
|
services.secrets = {
|
|
enable = true;
|
|
|
|
secrets = {
|
|
system_mail_password = {
|
|
user = "root";
|
|
group = "root";
|
|
fetchScript = ''
|
|
simple_get "/api-keys/chaos_mail/system" .password > "$secretFile"
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|