yuki: init hydroxide
traefik: remove searxng
This commit is contained in:
parent
ef0bbb9604
commit
4250623685
3 changed files with 18 additions and 8 deletions
|
@ -11,5 +11,6 @@
|
|||
./anki-sync-server.nix
|
||||
./paperless.nix
|
||||
./miniflux.nix
|
||||
./hydroxide.nix
|
||||
];
|
||||
}
|
||||
|
|
17
hosts/yuki/services/hydroxide.nix
Normal file
17
hosts/yuki/services/hydroxide.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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";}];
|
||||
|
|
Loading…
Reference in a new issue