18 lines
397 B
Nix
18 lines
397 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.nginx.virtualHosts."gitea.stubbe.rocks" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations."/".proxyPass = "http://localhost:3000";
|
|
};
|
|
|
|
users.users.gitea.shell = pkgs.zsh;
|
|
services.postgresql.enable = true;
|
|
services.gitea = {
|
|
enable = true;
|
|
useWizard = true;
|
|
repositoryRoot = "/var/lib/gitea/gitea-repositories";
|
|
};
|
|
}
|