change to sqlite

This commit is contained in:
Ray Andrew 2024-10-11 23:30:00 -05:00
parent ea098d05d1
commit e1029a6db2

View file

@ -103,7 +103,6 @@ in
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim vim
htop htop
postgresql
unzip unzip
lsof lsof
]; ];
@ -115,7 +114,7 @@ in
appName = "git.rs.ht"; appName = "git.rs.ht";
package = pkgs.gitea; package = pkgs.gitea;
database.type = "postgres"; database.type = "sqlite3";
repositoryRoot = "/var/lib/gitea/repositories"; repositoryRoot = "/var/lib/gitea/repositories";
@ -146,7 +145,9 @@ in
ENABLED = true; ENABLED = true;
RUN_AT_START = true; RUN_AT_START = true;
}; };
database.LOG_SQL = false; database = {
LOG_SQL = false;
};
indexer.REPO_INDEXER_ENABLED = true; indexer.REPO_INDEXER_ENABLED = true;
log = { log = {
LEVEL = "Info"; LEVEL = "Info";
@ -225,12 +226,6 @@ in
X11Forwarding no X11Forwarding no
''; '';
}; };
postgresql = {
package = pkgs.postgresql_15;
enableJIT = false;
# upgrade.stopServices = [ "gitea" ];
};
}; };
security.acme = { security.acme = {