os/hosts/stroopwafel/openstreetmap.nix

25 lines
358 B
Nix

{
flake,
config,
pkgs,
lib,
...
}: {
services.openstreetmap = {
enable = false;
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"
];
}