diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-05-20 16:58:16 +0200 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-05-20 16:58:16 +0200 |
| commit | bed1771ab1f65b55e396d6cfee49f574bec48421 (patch) | |
| tree | 2678b7d630028563546862ed59985ad9e85bf138 /hosts/omega-relay | |
| parent | f4a4de6e867e1e1b44392d4a2c0711b34a9d3564 (diff) | |
Add test endpoint
Diffstat (limited to 'hosts/omega-relay')
| -rw-r--r-- | hosts/omega-relay/default.nix | 11 |
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; |
