nix_config/machines/cj/gitea.nix
Jacob Hinkle 34fe86060c Fixed IPV6 setup for CJ
Remember to add IPV4 addresses in pihole for subhosts. This is because their namecheap DNS entries point to the router, so will resolve to our external IP. For IPV6, the addresses point straight to the server, so no additional steps are needed.
2022-11-02 09:19:05 -04:00

18 lines
329 B
Nix

{
enable = true;
domain = "git.jhink.org";
rootUrl = "https://git.jhink.org";
httpPort = 3000;
httpAddress = "127.0.0.1";
lfs = {
enable = true;
contentDir = "/serverdata/gitea/lfs_content";
};
stateDir = "/serverdata/gitea";
settings = {
repository = {
DEFAULT_BRANCH = "main";
};
};
}