about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-09 18:36:10 -0800
committerFranck Cuny <franck@fcuny.net>2022-03-09 18:36:10 -0800
commite89cb4c9f8e8c68e2074985857595c16e74ed36e (patch)
treea1acf3ccee7a8d7d3d6cde592b2c4d40ca11bcda
parentgo: ensure GOBIN is in PATH (diff)
downloadworld-e89cb4c9f8e8c68e2074985857595c16e74ed36e.tar.gz
gitea: we need to specify the user for the DB
-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;
+    };
   };
 }