diff --git a/flake.nix b/flake.nix index e02e454..49c896c 100644 --- a/flake.nix +++ b/flake.nix @@ -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}" ]; }; };