summaryrefslogtreecommitdiff
path: root/hosts/omega-relay
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2026-05-20 16:58:16 +0200
committerJakub Stachurski <j.stachurski@student.utwente.nl>2026-05-20 16:58:16 +0200
commitbed1771ab1f65b55e396d6cfee49f574bec48421 (patch)
tree2678b7d630028563546862ed59985ad9e85bf138 /hosts/omega-relay
parentf4a4de6e867e1e1b44392d4a2c0711b34a9d3564 (diff)
Add test endpoint
Diffstat (limited to 'hosts/omega-relay')
-rw-r--r--hosts/omega-relay/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/hosts/omega-relay/default.nix b/hosts/omega-relay/default.nix
index 727b7b0..32ba860 100644
--- a/hosts/omega-relay/default.nix
+++ b/hosts/omega-relay/default.nix
@@ -43,6 +43,13 @@
isVM = config.addons.virtualisation.isTestVM;
in
{
+ test_endpoint = {
+ enable = true;
+ domain = if isVM then "omega-relay.local" else "omega-relay.wilkuu.xyz";
+ doACME = !isVM;
+ port = 8080;
+ };
+
stalwart = {
enable = true;
domain = if isVM then "mail.omega-relay.local" else "mail.wilkuu.xyz";
@@ -127,6 +134,10 @@
};
};
+ virtualisation = {
+ docker.enable = true;
+ };
+
# TODO: Make a nginx module
security.acme = lib.mkIf (!config.addons.virtualisation.isTestVM) {
acceptTerms = true;