feat: Added gitea

This commit is contained in:
uttarayan21
2025-04-17 17:12:35 +05:30
parent 104806d902
commit bc13391403
2 changed files with 22 additions and 1 deletions

View File

@@ -2,13 +2,14 @@
imports = [
./atuin.nix
./authelia.nix
./jellyfin.nix
./llama.nix
./minecraft.nix
./tailscale.nix
./caddy.nix
./fail2ban.nix
./gitea.nix
# ./jellyfin.nix
# ./polaris.nix
# ./seafile.nix
# ./syncthing.nix

View File

@@ -0,0 +1,20 @@
{...}: {
services = {
gitea = {
enable = true;
settings = {
service = {
DISABLE_REGISTRATION = false;
ENABLE_REVERSE_PROXY_AUTHENTICATION = true;
REVERSE_PROXY_AUTHENTICATION_USER = "REMOTE-USER";
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true;
};
};
};
caddy = {
virtualHosts."git.darksailor.dev".extraConfig = ''
reverse_proxy localhost:3000
'';
};
};
}