diff --git a/nixos.nix b/nixos.nix index 564c474..49c48fa 100644 --- a/nixos.nix +++ b/nixos.nix @@ -23,6 +23,7 @@ in # Include service configuration ./services/archi.nix ./services/caddy.nix + ./services/gitea.nix ./services/jellyfin.nix ./services/minecraft ]; diff --git a/services/gitea.nix b/services/gitea.nix new file mode 100644 index 0000000..fb92f6a --- /dev/null +++ b/services/gitea.nix @@ -0,0 +1,14 @@ +{ + services.gitea = { + enable = true; + + lfs.enable = true; + + settings = { + server = { + HTTP_PORT = 3788; + ROOT_URL = "https://git.thewizard.link"; + }; + }; + }; +}