diff options
author | Martin Fischer <martin@push-f.com> | 2025-03-15 07:18:02 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-03-15 07:22:37 +0100 |
commit | a407445f64d786e85fd2d00587cfa0e8a695ead5 (patch) | |
tree | a8868e4871f7fa49d91f3fb22de271ed27617838 | |
parent | 8dee00fd3a742395650c5002ecdacb357248acf5 (diff) |
feat(tente): add geopos.link
-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 bcca7ad..49a1a6f 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-geopos-link}/service.nix" "${sources.my-spec-pub}/service.nix" ]; @@ -47,6 +48,20 @@ in }; }; + services.geopos-share = + let + domain = "geopos.link"; + in + { + enable = true; + virtualHost = domain; + nginx = { + enableACME = true; + forceSSL = true; + extraConfig = helpers.mkNginxConfig domain; + }; + }; + services.spec-pub = let domain = "spec.pub"; diff --git a/nixos/npins/sources.json b/nixos/npins/sources.json index dc2c491..63867b5 100644 --- a/nixos/npins/sources.json +++ b/nixos/npins/sources.json @@ -15,6 +15,17 @@ "url": "https://api.github.com/repos/ryantm/agenix/tarball/0.15.0", "hash": "01dhrghwa7zw93cybvx4gnrskqk97b004nfxgsys0736823956la" }, + "my-geopos-link": { + "type": "Git", + "repository": { + "type": "Git", + "url": "https://git.push-f.com/geopos.link" + }, + "branch": "master", + "revision": "ae67ef4f60656557d2408f3a4c2ba01959eef2c5", + "url": null, + "hash": "0r2m5q7zwxms9spbg12gq6q5pc5hz2x6i14qq5s2nxvvf4fsmnnv" + }, "my-osm-proposals": { "type": "Git", "repository": { |