From 1e9b49f4594dd48ac0905ed3ce7a6f0a7602c716 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 26 Oct 2023 22:59:30 +0100 Subject: [PATCH] feat: nixos side of the config Closes #20 --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index 75e8240..709c9b9 100644 --- a/flake.nix +++ b/flake.nix @@ -80,6 +80,7 @@ "${cfg.env.ldap}" "${cfg.env.discord}" "${cfg.env.mail}" + "${cfg.env.wolves}" ]; }; }); @@ -124,6 +125,10 @@ type = types.str; description = "Mail details, has EMAIL_SMTP, EMAIL_USER, EMAIL_PASS"; }; + wolves = mkOption rec { + type = types.str; + description = "Mail details, has WOLVES_URL, WOLVES_KEY"; + }; }; users = { @@ -213,12 +218,14 @@ "${cfg.env.ldap}" "${cfg.env.discord}" "${cfg.env.mail}" + "${cfg.env.wolves}" ]; }; restartTriggers = [ "${cfg.env.ldap}" "${cfg.env.discord}" "${cfg.env.mail}" + "${cfg.env.wolves}" ]; }; } // serviceGenerator scripts;