From e1029a6db238c2eba7297a9d638651a275710cc5 Mon Sep 17 00:00:00 2001 From: Ray Andrew <4437323+rayandrew@users.noreply.github.com> Date: Fri, 11 Oct 2024 23:30:00 -0500 Subject: [PATCH] change to sqlite --- hosts/git/configuration.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/hosts/git/configuration.nix b/hosts/git/configuration.nix index 1f9393b..bf70f33 100644 --- a/hosts/git/configuration.nix +++ b/hosts/git/configuration.nix @@ -103,7 +103,6 @@ in environment.systemPackages = with pkgs; [ vim htop - postgresql unzip lsof ]; @@ -115,7 +114,7 @@ in appName = "git.rs.ht"; package = pkgs.gitea; - database.type = "postgres"; + database.type = "sqlite3"; repositoryRoot = "/var/lib/gitea/repositories"; @@ -146,7 +145,9 @@ in ENABLED = true; RUN_AT_START = true; }; - database.LOG_SQL = false; + database = { + LOG_SQL = false; + }; indexer.REPO_INDEXER_ENABLED = true; log = { LEVEL = "Info"; @@ -225,12 +226,6 @@ in X11Forwarding no ''; }; - - postgresql = { - package = pkgs.postgresql_15; - enableJIT = false; - # upgrade.stopServices = [ "gitea" ]; - }; }; security.acme = {