From 5f52f21539a5cd620b5fd3efbf2763e2849ce158 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 20 Oct 2024 23:19:44 -0400 Subject: [PATCH] disable gitea createDatabase, fix nix gc Signed-off-by: ahuston-0 --- systems/palatine-hill/gitea.nix | 3 ++- users/alice/home.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/systems/palatine-hill/gitea.nix b/systems/palatine-hill/gitea.nix index 0feaf9e..7ddd815 100644 --- a/systems/palatine-hill/gitea.nix +++ b/systems/palatine-hill/gitea.nix @@ -14,9 +14,10 @@ in database = { type = "postgres"; passwordFile = config.sops.secrets."gitea/dbpass".path; + createDatabase = false; host = "127.0.0.1"; name = "giteadb"; - port = "5433"; + port = 5433; }; settings.server = { domain = "git.alicehuston.xyz"; diff --git a/users/alice/home.nix b/users/alice/home.nix index 56bc27e..e63c2a0 100644 --- a/users/alice/home.nix +++ b/users/alice/home.nix @@ -167,7 +167,7 @@ nix.gc = { automatic = true; - dates = "weekly"; + frequency = "weekly"; options = "--delete-older-than 30d"; };