From f5479342a892c920ba1006898905339094368938 Mon Sep 17 00:00:00 2001
From: ahuston-0 <aliceghuston@gmail.com>
Date: Sun, 20 Oct 2024 23:19:44 -0400
Subject: [PATCH] disable gitea createDatabase, fix nix gc

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
---
 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 58c37e4..06b4c38 100644
--- a/users/alice/home.nix
+++ b/users/alice/home.nix
@@ -169,7 +169,7 @@
 
   nix.gc = {
     automatic = true;
-    dates = "weekly";
+    frequency = "weekly";
     options = "--delete-older-than 30d";
   };