yuki: init hydroxide

traefik: remove searxng
This commit is contained in:
notohh 2024-02-02 10:03:22 -05:00
parent ef0bbb9604
commit 4250623685
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 18 additions and 8 deletions

View file

@ -11,5 +11,6 @@
./anki-sync-server.nix
./paperless.nix
./miniflux.nix
./hydroxide.nix
];
}

View file

@ -0,0 +1,17 @@
{pkgs, ...}: {
environment.systemPackages = [pkgs.hydroxide];
networking.firewall.allowedTCPPorts = [1025 1143];
systemd.services.hydroxide = {
enable = true;
wantedBy = ["multi-user.target"];
description = "A third-party, open-source ProtonMail bridge";
serviceConfig = {
User = "notoh";
ExecStart = "${pkgs.hydroxide}/bin/hydroxide -disable-carddav serve";
Restart = "always";
RestartSec = 30;
};
};
}

View file

@ -55,13 +55,6 @@
tls.domains = [{main = "*.internal.flake.sh";}];
tls.certresolver = "production";
};
searxng = {
rule = "Host(`search.internal.flake.sh`)";
entrypoints = ["websecure"];
service = "searxng";
tls.domains = [{main = "*.internal.flake.sh";}];
tls.certresolver = "production";
};
hass = {
rule = "Host(`hass.internal.flake.sh`)";
entrypoints = ["websecure"];
@ -141,7 +134,6 @@
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
wallos.loadBalancer.servers = [{url = "http://localhost:8282";}];
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
hass.loadBalancer.servers = [{url = "http://localhost:8123";}];
paperless.loadBalancer.servers = [{url = "http://localhost:28981";}];
miniflux.loadBalancer.servers = [{url = "http://localhost:9000";}];