10 lines
234 B
Nix
Raw Normal View History

2025-03-21 00:12:27 +03:00
{ lib, ... }:{
services.postgresql = {
enable = true;
ensureDatabases = [ "mydatabase" ];
authentication = lib.mkOverride 10 ''
#type database DBuser auth-method
local all all trust
'';
};
}