update/format configuration for jack

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-07-16 19:51:05 +02:00
parent 18c8afb616
commit 72e4be86eb
30 changed files with 466 additions and 589 deletions

View File

@@ -1,15 +1,16 @@
{ config, ... }:
let domain = "search-nixos-api.hadi.diy";
# Custom NixOS module for the Search NixOS API service
# Check https://search-nixos.hadi.diy
{config, ...}: let
domain = "search-nixos-api.hadi.diy";
in {
services = {
search-nixos-api = { enable = true; };
search-nixos-api = {enable = true;};
nginx.virtualHosts."${domain}" = {
useACMEHost = "hadi.diy";
forceSSL = true;
locations."/" = {
proxyPass =
"http://127.0.0.1:${toString config.services.search-nixos-api.port}/";
proxyPass = "http://127.0.0.1:${toString config.services.search-nixos-api.port}/";
};
};
};