diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-03-21 23:00:24 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-03-21 23:00:24 +0530 |
| commit | cef61e5b571bdba43d8b81c253be505c897f4c4b (patch) | |
| tree | c1bc1d97a8561c5ade0d0b5aee07e5c01baa17a4 /modules | |
| parent | c5d02e0c371ca71a9a668bc15dfc63aaf5dc28f9 (diff) | |
| download | homeserver-nixos-config-cef61e5b571bdba43d8b81c253be505c897f4c4b.tar.gz homeserver-nixos-config-cef61e5b571bdba43d8b81c253be505c897f4c4b.zip | |
Omnisearch
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/config.nix | 1 | ||||
| -rw-r--r-- | modules/network/default.nix | 6 | ||||
| -rw-r--r-- | modules/search/default.nix | 13 |
3 files changed, 20 insertions, 0 deletions
diff --git a/modules/config.nix b/modules/config.nix index 5ca3cdc..952306f 100644 --- a/modules/config.nix +++ b/modules/config.nix @@ -11,6 +11,7 @@ # ./monitoring ./rss ./calendar + ./search ./packages.nix ]; diff --git a/modules/network/default.nix b/modules/network/default.nix index 25cd5aa..de349e6 100644 --- a/modules/network/default.nix +++ b/modules/network/default.nix @@ -36,9 +36,15 @@ in # "librarian.local" = { inherit host; port = ports.lazylibrarian; }; "paperless.local" = { inherit host; port = ports.paperless; configureNginx = true; }; "calendar.local" = { inherit host; port = ports.caldav; }; + "search.local" = { inherit host; port = ports.search; }; }; }; + # DNS-only mappings + services.bacchus-dns.hosts = { + "smartfridge.local" = settings.network.smartfridgeIP; + }; + # Host mappings defined by service-router services.bacchus-dns = { enable = true; diff --git a/modules/search/default.nix b/modules/search/default.nix new file mode 100644 index 0000000..1663c25 --- /dev/null +++ b/modules/search/default.nix @@ -0,0 +1,13 @@ +{ settings, ... }: +{ + imports = [ ../../services/omnisearch ]; + + services.omnisearch = { + enable = true; + port = settings.network.ports.search; + openFirewall = true; + settings = { + server.domain = "http://search.local"; + }; + }; +} |
