about summary refs log tree commit diff
path: root/hosts/common/server/gitea.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/server/gitea.nix')
-rw-r--r--hosts/common/server/gitea.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/common/server/gitea.nix b/hosts/common/server/gitea.nix
index 83380a0..9b9bf83 100644
--- a/hosts/common/server/gitea.nix
+++ b/hosts/common/server/gitea.nix
@@ -22,6 +22,9 @@ in {
     log.level = "Error";
     settings = { other.SHOW_FOOTER_VERSION = false; };
     dump.enable = false;
-    database = { type = "sqlite3"; };
+    database = {
+      type = "sqlite3";
+      user = cfg.user;
+    };
   };
 }