disable gitea createDatabase, fix nix gc

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-10-20 23:19:44 -04:00
parent ebd2756d3e
commit f5479342a8
No known key found for this signature in database
GPG Key ID: 47940175096C1330
2 changed files with 3 additions and 2 deletions

View File

@ -14,9 +14,10 @@ in
database = { database = {
type = "postgres"; type = "postgres";
passwordFile = config.sops.secrets."gitea/dbpass".path; passwordFile = config.sops.secrets."gitea/dbpass".path;
createDatabase = false;
host = "127.0.0.1"; host = "127.0.0.1";
name = "giteadb"; name = "giteadb";
port = "5433"; port = 5433;
}; };
settings.server = { settings.server = {
domain = "git.alicehuston.xyz"; domain = "git.alicehuston.xyz";

View File

@ -169,7 +169,7 @@
nix.gc = { nix.gc = {
automatic = true; automatic = true;
dates = "weekly"; frequency = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };