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;
|
type = types.str;
|
||||||
description = "ENV file with DISCORD_TOKEN";
|
description = "ENV file with DISCORD_TOKEN";
|
||||||
};
|
};
|
||||||
|
mail = mkOption rec {
|
||||||
|
type = types.str;
|
||||||
|
description = "ENV file with EMAIL_SMTP, EMAIL_USER, EMAIL_PASS";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
discord = {
|
discord = {
|
||||||
|
@ -123,6 +127,7 @@
|
||||||
EnvironmentFile = [
|
EnvironmentFile = [
|
||||||
"${cfg.env.ldap}"
|
"${cfg.env.ldap}"
|
||||||
"${cfg.env.discord}"
|
"${cfg.env.discord}"
|
||||||
|
"${cfg.env.mail}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue