diff options
author | Martin Fischer <martin@push-f.com> | 2025-03-12 22:23:48 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-03-12 22:29:34 +0100 |
commit | 09f948e9aa780e922ca5e79dc51d77f003076ade (patch) | |
tree | 9bcebb99727df5bca013db75a26cb3e7f4c5f2df /nixos/hosts/tente/default.nix | |
parent | 0d5bc2d4c110c88777bb5320f9200b80286ba836 (diff) |
feat(tente): add spec.pub
Diffstat (limited to 'nixos/hosts/tente/default.nix')
-rw-r--r-- | nixos/hosts/tente/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
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; |