feat: Add nginx module
Change-Id: I34fbb926c4b7eab344c1c14de4e4b5f82c6c30eb
Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/785
Reviewed-by: Samuel Shuert <coded@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/systems/x86_64-linux/teal/default.nix b/systems/x86_64-linux/teal/default.nix
index df50319..40a0066 100644
--- a/systems/x86_64-linux/teal/default.nix
+++ b/systems/x86_64-linux/teal/default.nix
@@ -28,7 +28,11 @@
acme = {
enable = true;
- email = "minion@clicks.codes";
+ defaults = {
+ email = "minion@clicks.codes";
+ dnsProvider = "cloudflare";
+ environmentFile = config.clicks.secrets."${lib.clicks.secrets.name ./acme.sops.env.bin}".path;
+ };
};
};
@@ -223,4 +227,6 @@
file = ./tailscale.sops.json;
keys = [ "authKey" ];
};
+
+ clicks.secrets."${lib.clicks.secrets.name ./acme.sops.env.bin}".file = ./acme.sops.env.bin;
}