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 = {