10 lines
234 B
Nix
10 lines
234 B
Nix
|
{ lib, ... }:{
|
||
|
services.postgresql = {
|
||
|
enable = true;
|
||
|
ensureDatabases = [ "mydatabase" ];
|
||
|
authentication = lib.mkOverride 10 ''
|
||
|
#type database DBuser auth-method
|
||
|
local all all trust
|
||
|
'';
|
||
|
};
|
||
|
}
|