nix-files/cfg/services/jackett.nix
Colin b5dd04e127 rename config/ -> cfg/
notably, this avoids the problem where `co<tab>` can't auto-complete the trailing slash.
`cf<tab>` autocompletes to `cfg/` in the same number of keystrokes :-)
2022-05-08 22:01:22 +00:00

15 lines
453 B
Nix

{ config, pkgs, lib, ... }:
{
services.jackett.enable = true;
systemd.services.jackett.after = ["wg0veth.service"];
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";
};
}