mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
17 lines
396 B
Nix
17 lines
396 B
Nix
let
|
|
inherit (import <niveum/lib>) sshPort;
|
|
in {
|
|
services.gitea = {
|
|
enable = true;
|
|
disableRegistration = true;
|
|
rootUrl = "https://code.kmein.de";
|
|
appName = "code.kmein.de";
|
|
ssh.clonePort = sshPort;
|
|
};
|
|
services.nginx.virtualHosts."code.kmein.de" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations."/".extraConfig = "proxy_pass http://localhost:3000;";
|
|
};
|
|
}
|