diff --git a/nixos/system/hectic-lab/hectic-lab.nix b/nixos/system/hectic-lab/hectic-lab.nix index 6bdb4d9..24bb4b3 100644 --- a/nixos/system/hectic-lab/hectic-lab.nix +++ b/nixos/system/hectic-lab/hectic-lab.nix @@ -340,7 +340,10 @@ in { database = { createDatabase = false; type = "postgres"; + user = "gitea"; + name = "gitea"; + socket = "/run/postgresql"; }; }; @@ -353,6 +356,9 @@ in { ensureDBOwnership = true; } ]; + authentication = ''' + local gitea gitea peer + '''; }; };