nixos-config/system/starlight/osm.nix

13 lines
269 B
Nix
Raw Normal View History

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