i can't remember what caused this...
This commit is contained in:
@@ -46,13 +46,14 @@
|
||||
environment.systemPackages = [ pkgs.pandoc ];
|
||||
services.postgresql = {
|
||||
enable = true; # Ensure postgresql is enabled
|
||||
authentication = ''
|
||||
local gitea all ident map=gitea-users
|
||||
'';
|
||||
identMap = # Map the gitea user to postgresql
|
||||
''
|
||||
gitea-users gitea gitea
|
||||
'';
|
||||
# authentication = ''
|
||||
# local gitea all ident map=gitea-users
|
||||
# '';
|
||||
# identMap = # Map the gitea user to postgresql
|
||||
# ''
|
||||
# gitea-users gitea gitea
|
||||
# gitea-users postgres gitea
|
||||
# '';
|
||||
ensureDatabases = [ "gitea" ];
|
||||
ensureUsers = [{
|
||||
name = "gitea";
|
||||
|
||||
Reference in New Issue
Block a user