diff options
author | Martin Fischer <martin@push-f.com> | 2025-03-09 14:03:59 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-03-09 21:51:20 +0100 |
commit | 84f2c1523da796aa17c04d48362acee509cd907d (patch) | |
tree | e23837b8b4cd1d0e733f2370a1d56fbef2e03b47 /nixos/hosts/tente | |
parent | 4602b8aa1ccc761af2b0843d6df9732ce9870f19 (diff) |
feat(tente): add osm-proposals
Diffstat (limited to 'nixos/hosts/tente')
-rw-r--r-- | nixos/hosts/tente/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix index c2b6491..939fc9a 100644 --- a/nixos/hosts/tente/default.nix +++ b/nixos/hosts/tente/default.nix @@ -6,6 +6,8 @@ let domain = "push-f.com"; acmeEmail = "martin@push-f.com"; + sources = import ../../npins; + helpers = import <top/helpers.nix>; in { config, lib, pkgs, ... }: @@ -18,6 +20,7 @@ in ./git.nix ./headscale.nix ./matrix.nix + "${sources.my-osm-proposals}/service.nix" ]; web-personal.domain = domain; @@ -27,6 +30,20 @@ in matrix.serverName = domain; matrix.apiDomain = "matrix.${domain}"; + services.osm_proposals = + let + subdomain = "osm-proposals.${domain}"; + in + { + enable = true; + virtualHost = subdomain; + nginx = { + enableACME = true; + forceSSL = true; + extraConfig = helpers.mkNginxConfig subdomain; + }; + }; + headscale.port = 8080; matrix.port = 8008; |