13 lines
269 B
Nix
13 lines
269 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
services.postgresql = {
|
||
|
enable = true;
|
||
|
package = pkgs.postgresql_16;
|
||
|
extraPlugins = with config.services.postgresql.package.pkgs; [ postgis ];
|
||
|
|
||
|
ensureDatabases = [ "osm" ];
|
||
|
ensureUsers = [ { name = "artemis"; } ];
|
||
|
};
|
||
|
}
|