From 09f948e9aa780e922ca5e79dc51d77f003076ade Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 12 Mar 2025 22:23:48 +0100 Subject: feat(tente): add spec.pub --- nixos/hosts/tente/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'nixos/hosts/tente') diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix index f910876..bcca7ad 100644 --- a/nixos/hosts/tente/default.nix +++ b/nixos/hosts/tente/default.nix @@ -23,6 +23,7 @@ in ./matrix.nix ./monitoring.nix "${sources.my-osm-proposals}/service.nix" + "${sources.my-spec-pub}/service.nix" ]; web-personal.domain = domain; @@ -46,6 +47,20 @@ in }; }; + services.spec-pub = + let + domain = "spec.pub"; + in + { + enable = true; + virtualHost = domain; + nginx = { + enableACME = true; + forceSSL = true; + extraConfig = helpers.mkNginxConfig domain; + }; + }; + monitoring.grafanaUiPort = 3000; monitoring.alloyUiPort = 3001; monitoring.lokiPort = 3030; -- cgit v1.2.3