feat: email details will be passed in as an env file
This commit is contained in:
parent
e6f3b5f158
commit
c3161315fe
1 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,10 @@
|
|||
type = types.str;
|
||||
description = "ENV file with DISCORD_TOKEN";
|
||||
};
|
||||
mail = mkOption rec {
|
||||
type = types.str;
|
||||
description = "ENV file with EMAIL_SMTP, EMAIL_USER, EMAIL_PASS";
|
||||
};
|
||||
};
|
||||
|
||||
discord = {
|
||||
|
@ -123,6 +127,7 @@
|
|||
EnvironmentFile = [
|
||||
"${cfg.env.ldap}"
|
||||
"${cfg.env.discord}"
|
||||
"${cfg.env.mail}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue