os/hosts/stroopwafel/openstreetmap.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
357 B
Nix
Raw Permalink Normal View History

2024-02-27 08:41:03 +00:00
{
flake,
config,
pkgs,
lib,
...
}: {
services.openstreetmap = {
enable = true;
2024-02-27 08:41:03 +00:00
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"
];
}