diff options
-rw-r--r-- | nixos/hosts/tente/default.nix | 22 | ||||
-rw-r--r-- | nixos/npins/sources.json | 11 |
2 files changed, 33 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"; diff --git a/nixos/npins/sources.json b/nixos/npins/sources.json index 75e5790..04223c8 100644 --- a/nixos/npins/sources.json +++ b/nixos/npins/sources.json @@ -37,6 +37,17 @@ "url": null, "hash": "14j48alysvx4n06my3kspsbplx23sv07nvswrya1x3swmwn4mnnc" }, + "my-rust-features": { + "type": "Git", + "repository": { + "type": "Git", + "url": "https://git.push-f.com/rust-features" + }, + "branch": "master", + "revision": "d8b675d3670a70df15ec46dfd9a1bb9f801aae41", + "url": null, + "hash": "1z1mpyx7b9swy7n5434jd3xg3wpkfmar81wxa4r26cx7vz6rq6jc" + }, "my-spec-pub": { "type": "Git", "repository": { |