From 98ff3c4dd87c3c76855cb4eef46a98ebb7bb5bf8 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Mon, 19 Aug 2024 20:33:05 -0300 Subject: [PATCH] services: add gitea --- nixos.nix | 1 + services/gitea.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 services/gitea.nix 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"; + }; + }; + }; +}