diff options
author | Martin Fischer <martin@push-f.com> | 2025-04-05 17:00:22 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-04-05 17:40:04 +0200 |
commit | 51b82013660827ab96f2fabd6a623c988676f642 (patch) | |
tree | 27c6482b8349203b42cd9c6fd7c8592c69607737 /nixos/hosts/tente | |
parent | 7a1cc880551aab1fa7b750380ab644c9e079e37e (diff) |
feat(tente): add rust-features
Diffstat (limited to 'nixos/hosts/tente')
-rw-r--r-- | nixos/hosts/tente/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix index 6f0458e..e87b74b 100644 --- a/nixos/hosts/tente/default.nix +++ b/nixos/hosts/tente/default.nix @@ -25,6 +25,7 @@ in ./monitoring.nix "${sources.my-osm-proposals}/service.nix" "${sources.my-geopos-link}/service.nix" + "${sources.my-rust-features}/service.nix" "${sources.my-spec-pub}/service.nix" ]; @@ -35,6 +36,12 @@ in matrix.serverName = baseDomain; matrix.apiDomain = "matrix.${baseDomain}"; + users.users.www-generator = { + isSystemUser = true; + group = "www-generator"; + }; + users.groups.www-generator = {}; + services.osm_proposals = let domain = "osm-proposals.${baseDomain}"; @@ -63,6 +70,21 @@ in }; }; + services.rust-features = + let + domain = "rust-features.${baseDomain}"; + in + { + enable = true; + user = "www-generator"; + virtualHost = domain; + nginx = { + enableACME = true; + forceSSL = true; + extraConfig = helpers.mkNginxConfig domain; + }; + }; + services.spec-pub = let domain = "spec.pub"; |