Colin
b5dd04e127
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 :-)
15 lines
453 B
Nix
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";
|
|
};
|
|
}
|
|
|