os/hosts/stroopwafel/openstreetmap.nix
2024-12-07 12:03:44 +01:00

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"
];
}