mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Setup nominatim
This commit is contained in:
parent
4cbbe70898
commit
3d31285ab8
3 changed files with 25 additions and 1 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue