starlight: start tying openstreetmap stuff again
This commit is contained in:
parent
cd47cdfcdf
commit
970c33b10d
|
@ -11,6 +11,7 @@
|
|||
./boot-config.nix
|
||||
./hardware-configuration.nix
|
||||
./scripts.nix
|
||||
./osm.nix
|
||||
../../sets/builder.nix
|
||||
../../sets/disc.nix
|
||||
../../sets/fpga.nix
|
||||
|
|
12
system/starlight/osm.nix
Normal file
12
system/starlight/osm.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_16;
|
||||
extraPlugins = with config.services.postgresql.package.pkgs; [ postgis ];
|
||||
|
||||
ensureDatabases = [ "osm" ];
|
||||
ensureUsers = [ { name = "artemis"; } ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue