murmur + hedgedoc
This commit is contained in:
parent
55eb4f5ddc
commit
9da5443958
6 changed files with 41 additions and 5 deletions
|
|
@ -3,10 +3,12 @@
|
|||
services.postgresql = {
|
||||
enable = true;
|
||||
|
||||
ensureDatabases = [ "vaultwarden" ];
|
||||
ensureDatabases = [ "vaultwarden" "hedgedoc" ];
|
||||
authentication = pkgs.lib.mkOverride 10 ''
|
||||
#type database DBuser auth-method
|
||||
local all all trust
|
||||
#type database DBuser IP Range auth-method
|
||||
local all all trust
|
||||
host all all ::1/128 trust
|
||||
host all all 127.0.0.1/32 trust
|
||||
'';
|
||||
|
||||
# When removing users or removing permissions from users here, must also remove them manually
|
||||
|
|
@ -15,6 +17,10 @@
|
|||
name = "vaultwarden";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
{
|
||||
name = "hedgedoc";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue