From c3161315fe518bce56248361c4a4b8a708a65105 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 10 Sep 2023 22:33:00 +0100 Subject: [PATCH] feat: email details will be passed in as an env file --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) 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}" ]; }; };