Setup nominatim

This commit is contained in:
Gene Liverman 2026-01-24 23:20:00 -05:00
parent 4cbbe70898
commit 3d31285ab8
Signed by: genebean
SSH key fingerprint: SHA256:gMnZbl3rg8nIXl4AomxNeNiOG4mWP/xEywbmQjVfhtY
3 changed files with 25 additions and 1 deletions

View file

@ -59,6 +59,10 @@ in {
dawarich = { dawarich = {
enable = true; enable = true;
configureNginx = true; configureNginx = true;
environment = {
NOMINATIM_API_HOST = "nominatim.home.technicalissues.us";
NOMINATIM_API_USE_HTTPS = "true";
};
localDomain = "location.technicalissues.us"; localDomain = "location.technicalissues.us";
smtp = { smtp = {
fromAddress = "location@hetznix01.technicalissues.us"; fromAddress = "location@hetznix01.technicalissues.us";

View file

@ -472,6 +472,18 @@ in {
acmeRoot = null; acmeRoot = null;
forceSSL = true; forceSSL = true;
}; };
"nominatim.${home_domain}" = {
enableACME = true;
acmeRoot = null;
forceSSL = true;
extraConfig = ''
allow 127.0.0.1;
allow ::1;
allow 2600:1700:1712:880f:8eee:4ba4:75dc:f39c;
allow 100.64.0.0/10;
deny all;
'';
};
"onlyoffice.${home_domain}" = { "onlyoffice.${home_domain}" = {
listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }]; listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }];
enableACME = true; enableACME = true;
@ -489,6 +501,14 @@ in {
}; };
}; };
}; };
nominatim = {
enable = true;
hostName = "nominatim.home.technicalissues.us";
ui.config = ''
Nominatim_Config.Page_Title="Beantown's Nominatim";
Nominatim_Config.Nominatim_API_Endpoint='https://${config.services.nominatim.hostName}/';
'';
};
pinchflat = { pinchflat = {
enable = true; enable = true;
group = "jellyfin"; group = "jellyfin";