os/hosts/stroopwafel/openstreetmap.nix

25 lines
357 B
Nix

{
flake,
config,
pkgs,
lib,
...
}: {
services.openstreetmap = {
enable = true;
debug = true;
totalRamGb = 14;
};
environment.persistence."/persist" = {
directories = [
"/var/lib/renderd"
"/var/lib/postgresql"
];
};
systemd.tmpfiles.rules = [
"d /persist/var/lib/renderd 0700 renderd renderd"
];
}