diff --git a/configurations/camelot/jellyfin.nix b/configurations/camelot/jellyfin.nix index 3b5b92e..b5336fd 100644 --- a/configurations/camelot/jellyfin.nix +++ b/configurations/camelot/jellyfin.nix @@ -39,10 +39,14 @@ # Torrent client services.deluge = { enable = true; - web.enable = true; + web = { + enable = true; + openFirewall = true; + }; group = "media"; }; + systemd.services.delugedweb.requires = ["deluged-proxy.service"]; systemd.services.deluged.bindsTo = [ "wireguard-wg1.service" ]; systemd.services.deluged.requires = [ "network-online.target" ]; systemd.services.deluged.serviceConfig.NetworkNamespacePath = "/var/run/netns/wg1ns"; @@ -61,7 +65,7 @@ unitConfig.JoinsNamespaceOf = "deluged.service"; serviceConfig = { User = "deluge"; - Group = "deluge"; + Group = "media"; ExecStart = "${pkgs.systemd}/lib/systemd/systemd-socket-proxyd 127.0.0.1:58846"; PrivateNetwork = true; };