nix-files/cfg/services/jackett.nix

15 lines
453 B
Nix
Raw Normal View History

2022-05-04 00:10:32 +00:00
{ config, pkgs, lib, ... }:
{
services.jackett.enable = true;
systemd.services.jackett.after = ["wg0veth.service"];
2022-05-04 00:10:32 +00:00
systemd.services.jackett.serviceConfig = {
# run this behind the OVPN static VPN
NetworkNamespacePath = "/run/netns/ovpns";
# patch jackett to listen on the public interfaces
# ExecStart = lib.mkForce "${pkgs.jackett}/bin/Jackett --NoUpdates --DataFolder /var/lib/jackett/.config/Jackett --ListenPublic";
};
}