snowflake/hosts/yuki/services/hydroxide.nix
notohh 4250623685
yuki: init hydroxide
traefik: remove searxng
2024-02-02 10:03:51 -05:00

17 lines
458 B
Nix

{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;
};
};
}