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 | |
parent | 0d5bc2d4c110c88777bb5320f9200b80286ba836 (diff) |
feat(tente): add spec.pub
-rw-r--r-- | nixos/hosts/tente/default.nix | 15 | ||||
-rw-r--r-- | nixos/npins/sources.json | 11 |
2 files changed, 26 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; diff --git a/nixos/npins/sources.json b/nixos/npins/sources.json index 1a4145c..dc2c491 100644 --- a/nixos/npins/sources.json +++ b/nixos/npins/sources.json @@ -26,6 +26,17 @@ "url": null, "hash": "0g40fzpnrpcaxj6m19fbgwh5x11sbi1h037q5av4x5z7ifxg2dpy" }, + "my-spec-pub": { + "type": "Git", + "repository": { + "type": "Git", + "url": "https://git.push-f.com/spec.pub" + }, + "branch": "master", + "revision": "65610a959cc75482001f14241eb521d7b18c8011", + "url": null, + "hash": "0y9wz8kvjc3gv5qf8il5gh9wrx46vinaav1kq0yjiybibhpjskz7" + }, "nixos": { "type": "Channel", "name": "nixos-24.11", |