mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
26 lines
595 B
Nix
26 lines
595 B
Nix
let
|
|
inherit (import <niveum/lib>) sshPort;
|
|
domain = "https://code.kmein.de";
|
|
in {
|
|
services.gitea = {
|
|
enable = true;
|
|
disableRegistration = true;
|
|
rootUrl = domain;
|
|
appName = "code.kmein.de";
|
|
ssh.clonePort = sshPort;
|
|
};
|
|
services.nginx.virtualHosts."code.kmein.de" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations."/".extraConfig = "proxy_pass http://localhost:3000;";
|
|
};
|
|
|
|
niveum.passport.services = [
|
|
{
|
|
link = domain;
|
|
title = "Gitea";
|
|
description = "hosts a couple of <tt>git</tt> repos. Registration is disabled.";
|
|
}
|
|
];
|
|
}
|