mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
initial gitea setup on torus
This commit is contained in:
parent
21f1f79c2f
commit
a4dff1bd62
@ -9,6 +9,7 @@
|
||||
./share.nix
|
||||
./rss.nix
|
||||
./home-assistant
|
||||
./gitea.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
@ -122,6 +123,9 @@
|
||||
"media.tstarr.us" = (SSL // {
|
||||
locations."/".proxyPass = "http://localhost:8096/";
|
||||
});
|
||||
"git.tstarr.us" = (SSL // {
|
||||
locations."/".proxyPass = "http://localhost:3001/";
|
||||
});
|
||||
"vault.tstarr.us" = (SSL // {
|
||||
locations."/".proxyPass = "http://localhost:5000/";
|
||||
extraConfig = ''
|
||||
|
22
provision/hosts/torus/gitea.nix
Normal file
22
provision/hosts/torus/gitea.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ config, lib, pkgs, user, ... }:
|
||||
{
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
dump = {
|
||||
enable = true;
|
||||
interval = "23:05";
|
||||
};
|
||||
settings.service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
};
|
||||
settings.server = {
|
||||
DOMAIN = "git.tstarr.us";
|
||||
HTTP_PORT = 3001;
|
||||
ROOT_URL = "https://git.tstarr.us";
|
||||
};
|
||||
#settings.actions = {
|
||||
# ENABLED = true;
|
||||
#};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user